Skip to content

Commit 360eb59

Browse files
author
Sébastien HOUZÉ
committed
fix(cd): build artifacts by removing CGO
related to golang/go#22510
1 parent 5246065 commit 360eb59

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
GO_BUILD_OPTIONS: "-a -installsuffix cgo"
3232
GO_BUILD_LDFLAGS: "-s -w"
3333
GOARCH: amd64
34-
CGO_ENABLED: 0
3534
TAG_NAME: ${{ github.event.release.tag_name }}
3635
run: |
3736
export BUILD_DATE=$(date "+%Y-%m-%d")
@@ -56,7 +55,6 @@ jobs:
5655
5756
export GOOS=darwin
5857
export NAME=github-${GOOS}-${GOARCH}
59-
export CGO_ENABLED=1
6058
printf "Building ${NAME}...\n"
6159
go build ${GO_BUILD_OPTIONS} -ldflags "${GO_BUILD_LDFLAGS}" -o release/${NAME}
6260
shasum -a 256 release/${NAME} > "release/${NAME}.sha256"

0 commit comments

Comments
 (0)