Skip to content

Commit

Permalink
feat(build): disable CGO for release builds on Linux platform
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnatarHe committed May 8, 2024
1 parent 7416aa2 commit 9920407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_requests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ jobs:
- name: Build
env:
GOARCH: amd64
CGO_ENABLED: 1
CGO_ENABLED: 0
GOOS: linux
run: make release
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
env:
GOARCH: amd64
CGO_ENABLED: 1
CGO_ENABLED: 0
GOOS: linux
run: |
make release
Expand Down

0 comments on commit 9920407

Please sign in to comment.