Skip to content

Commit 7c4f503

Browse files
fix: static build
1 parent 0506d5b commit 7c4f503

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/commit-analyzer-cz/pkg/analyzer.CAVERSION=${{steps.semrel.outputs.version}}" -output="bin/{{.Dir}}_v${{steps.semrel.outputs.version}}_{{.OS}}_{{.Arch}}" ./cmd/commit-analyzer-cz/
5151
cd bin/ && shasum -a 256 * > ./commit-analyzer-cz_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)