ci: set CGO_ENABLED=0 in pre_command for Go binary release

This commit is contained in:
krau
2025-01-19 14:38:10 +08:00
parent b76c1d5ccc
commit a146871a9d

View File

@@ -49,7 +49,7 @@ jobs:
- name: Release Go Binary
uses: wangyoucao577/go-release-action@v1
with:
pre_command: export
pre_command: export CGO_ENABLED=0
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
github_token: ${{ secrets.GITHUB_TOKEN }}