Skip to content

Commit 9f6d900

Browse files
fix: static build
1 parent 3445adb commit 9f6d900

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldflags="-extldflags '-static' -s -w -X github.com/go-semantic-release/provider-github/pkg/provider.PVERSION=${{steps.semrel.outputs.version}}" -output="bin/{{.Dir}}_v${{steps.semrel.outputs.version}}_{{.OS}}_{{.Arch}}" ./cmd/provider-github/
5151
cd bin/ && shasum -a 256 * > ./provider-github_v${{steps.semrel.outputs.version}}_checksums.txt && cd -
5252
if: steps.semrel.outputs.version != ''
53+
env:
54+
CGO_ENABLED: 0
5355
- run: ghr $(cat .ghr) bin/
5456
if: steps.semrel.outputs.version != ''
5557
env:

0 commit comments

Comments
 (0)