Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76069b0

Browse files
committed
set GOFLAGS on release
1 parent 8184468 commit 76069b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/go-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
PACKAGE: ./cmd/docsite
1818
GOARCH: amd64
1919
GOOS: linux
20+
GOFLAGS: -buildvcs=false
2021
release-darwin-amd64:
2122
name: Release darwin/amd64
2223
runs-on: ubuntu-latest
@@ -30,6 +31,7 @@ jobs:
3031
PACKAGE: ./cmd/docsite
3132
GOARCH: amd64
3233
GOOS: darwin
34+
GOFLAGS: -buildvcs=false
3335
release-darwin-arm64:
3436
name: Release darwin/arm64
3537
runs-on: ubuntu-latest
@@ -43,6 +45,7 @@ jobs:
4345
PACKAGE: ./cmd/docsite
4446
GOARCH: arm64
4547
GOOS: darwin
48+
GOFLAGS: -buildvcs=false
4649
docker:
4750
name: Build and push image
4851
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)