Skip to content

Commit 45047a6

Browse files
fix: build static binary to improve portability (#1993)
Co-authored-by: Trevor Brown <[email protected]>
1 parent 0ceac7a commit 45047a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: Build Go binaries
3232
uses: wangyoucao577/go-release-action@v1
3333
with:
34+
pre_command: "export CGO_ENABLED=0"
3435
github_token: ${{ secrets.GITHUB_TOKEN }}
3536
goos: ${{ matrix.goos }}
3637
goarch: ${{ matrix.goarch }}

0 commit comments

Comments
 (0)