diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdd9a9ac635a88837327a009b15f539fd803d2f6..d0b55fd2080e1ec5592905661f52f139f12e5f92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,8 @@ jobs: gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldflags="-extldflags '-static' -s -w -X github.com/go-semantic-release/condition-gitlab/pkg/condition.CIVERSION=${{steps.semrel.outputs.version}}" -output="bin/{{.Dir}}_v${{steps.semrel.outputs.version}}_{{.OS}}_{{.Arch}}" ./cmd/condition-gitlab/ cd bin/ && shasum -a 256 * > ./condition-gitlab_v${{steps.semrel.outputs.version}}_checksums.txt && cd - if: steps.semrel.outputs.version != '' + env: + CGO_ENABLED: 0 - run: ghr $(cat .ghr) bin/ if: steps.semrel.outputs.version != '' env: