buildvcs=false
parent
563d14248c
commit
35b4b3a8b2
|
@ -9,7 +9,7 @@ jobs:
|
|||
- checkout
|
||||
|
||||
- run: |
|
||||
docker run -it --rm -v "$PWD":/work -w /work golang:1.20-bullseye bash -c 'CGO_ENABLED=0 go build -ldflags="-s -w"'
|
||||
docker run -it --rm -v "$PWD":/work -w /work golang:1.20-bullseye bash -c 'CGO_ENABLED=0 go build -buildvcs=false -ldflags="-s -w"'
|
||||
sudo mv go-vod go-vod-aarch64
|
||||
|
||||
- persist_to_workspace:
|
||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Build
|
||||
run: CGO_ENABLED=0 go build -ldflags="-s -w"
|
||||
run: CGO_ENABLED=0 go build -buildvcs=false -ldflags="-s -w"
|
||||
|
||||
- name: Upload to releases
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
|
|
Loading…
Reference in New Issue