Skip to content

Commit 5ed1539

Browse files
committed
fix(release): adjust CGO_ENABLED setting for consistent ARM64 and AMD64 builds in release workflow
1 parent 049bbe1 commit 5ed1539

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ jobs:
171171
env:
172172
GOOS: ${{ matrix.goos }}
173173
GOARCH: ${{ matrix.goarch }}
174-
CGO_ENABLED: ${{ matrix.cgo || 1 }}
174+
CGO_ENABLED: ${{ matrix.cgo == 0 && '0' || '1' }}
175175
run: |
176176
go build -ldflags="-s -w" -o ${{ matrix.artifact }} .
177177

0 commit comments

Comments
 (0)