Skip to content

Commit

Permalink
fix(publish): disable CGO
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneM committed Oct 14, 2024
1 parent d827211 commit c53fb2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: |
go install github.com/mitchellh/gox@latest
gox -os="linux" -arch="${{ env.GOX_ARCHITECTURES }}" -output="dist/link-${{ steps.tag_name.outputs.TAG_NAME }}-{{.OS}}-{{.Arch}}/{{.Dir}}" -ldflags="-X main.Version=${{ steps.tag_name.outputs.TAG_NAME }}" . ./cmd/...
CGO_ENABLED=0 gox -os="linux" -arch="${{ env.GOX_ARCHITECTURES }}" -output="dist/link-${{ steps.tag_name.outputs.TAG_NAME }}-{{.OS}}-{{.Arch}}/{{.Dir}}" -ldflags="-X main.Version=${{ steps.tag_name.outputs.TAG_NAME }}" . ./cmd/...
- name: Archive the built binaries
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit c53fb2f

Please sign in to comment.