Skip to content

Commit

Permalink
Merge pull request #12178 from hashicorp/RDX-205-add-netcgo-for-darwi…
Browse files Browse the repository at this point in the history
…n-builds

RDX-205 add netcgo tag for darwin builds
  • Loading branch information
modrake authored and hc-github-team-consul-core committed Jan 25, 2022
1 parent fda25e8 commit c728d4e
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 @@ -223,7 +223,7 @@ jobs:
GOLDFLAGS: "${{ needs.get-product-version.outputs.shared-ldflags }}"
run: |
mkdir dist out
go build -ldflags="$GOLDFLAGS" -o dist/ .
go build -ldflags="$GOLDFLAGS" -tags netcgo -o dist/ .
zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_${{ matrix.goos }}_${{ matrix.goarch }}.zip dist/
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit c728d4e

Please sign in to comment.