Skip to content

Commit

Permalink
ci: set CGO_ENABLED=0 in pre_command for Go binary release
Browse files Browse the repository at this point in the history
  • Loading branch information
krau committed Jan 19, 2025
1 parent b76c1d5 commit a146871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a146871

Please sign in to comment.