buildvcs=false

monorepo
Varun Patil 2023-02-24 00:35:24 -08:00
parent 563d14248c
commit 35b4b3a8b2
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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