From 11ef7d99bd27da2e13a176f112d49844a7dd5ab7 Mon Sep 17 00:00:00 2001 From: Morgan Drake <12264057+modrake@users.noreply.github.com> Date: Mon, 24 Jan 2022 14:34:57 -0800 Subject: [PATCH] add netcgo tag for darwin builds --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4261c1d1..277a11610 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -218,7 +218,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