Skip to content

Commit

Permalink
fix(ci): build binaries with CGO_ENABLED=0 (#1371)
Browse files Browse the repository at this point in the history
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
  • Loading branch information
noahdietz and gcf-merge-on-green[bot] committed Apr 12, 2024
1 parent 0d6e074 commit f776eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
go get github.com/inconshreveable/mousetrap
- name: Build for the ${{ matrix.osarch.os }}/${{ matrix.osarch.arch }} platform.
run: |
gox -osarch ${{ matrix.osarch.os }}/${{ matrix.osarch.arch }} -output api-linter ./... && \
CGO_ENABLED=0 gox -osarch ${{ matrix.osarch.os }}/${{ matrix.osarch.arch }} -output api-linter ./... && \
tar cvfz api-linter.tar.gz api-linter*
- name: Set raw version
id: raw_tag
Expand Down

0 comments on commit f776eca

Please sign in to comment.