mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
use apt-get in drone.yml
This commit is contained in:
parent
bf98c74ecf
commit
aaea889e47
18
.drone.yml
18
.drone.yml
@ -16,10 +16,10 @@ steps:
|
|||||||
GITHUB_TOKEN:
|
GITHUB_TOKEN:
|
||||||
from_secret: github_token
|
from_secret: github_token
|
||||||
commands:
|
commands:
|
||||||
- apt update -y
|
- apt-get update -y
|
||||||
- apt install build-essential python3-pip curl software-properties-common sed upx -y
|
- apt-get install build-essential python3-pip curl software-properties-common sed upx -y
|
||||||
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
||||||
- apt install nodejs
|
- apt-get install nodejs
|
||||||
- curl -sL https://git.io/goreleaser > ../goreleaser
|
- curl -sL https://git.io/goreleaser > ../goreleaser
|
||||||
- chmod +x ../goreleaser
|
- chmod +x ../goreleaser
|
||||||
- ./scripts/version.sh ../goreleaser
|
- ./scripts/version.sh ../goreleaser
|
||||||
@ -73,10 +73,10 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- apt update -y
|
- apt-get update -y
|
||||||
- apt install build-essential python3-pip curl software-properties-common sed upx -y
|
- apt-get install build-essential python3-pip curl software-properties-common sed upx -y
|
||||||
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
||||||
- apt install nodejs
|
- apt-get install nodejs
|
||||||
- curl -sL https://git.io/goreleaser > goreleaser
|
- curl -sL https://git.io/goreleaser > goreleaser
|
||||||
- chmod +x goreleaser
|
- chmod +x goreleaser
|
||||||
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
||||||
@ -143,10 +143,10 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- apt update -y
|
- apt-get update -y
|
||||||
- apt install build-essential python3-pip curl software-properties-common sed upx -y
|
- apt-get install build-essential python3-pip curl software-properties-common sed upx -y
|
||||||
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
||||||
- apt install nodejs
|
- apt-get install nodejs
|
||||||
- curl -sL https://git.io/goreleaser > goreleaser
|
- curl -sL https://git.io/goreleaser > goreleaser
|
||||||
- chmod +x goreleaser
|
- chmod +x goreleaser
|
||||||
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
||||||
|
Loading…
Reference in New Issue
Block a user