diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 71208d9..2de016b 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -36,6 +36,7 @@ jobs: env: GOOS: ${{ matrix.goos }} GOARCH: ${{ matrix.goarch }} + CGO_ENABLED: ${{ matrix.goos == 'windows' && '0' || '1' }} run: | go build -ldflags "-X main.version=${{ github.ref_name }}" -o nak-${{ github.ref_name }}-${{ matrix.goos }}-${{ matrix.goarch }} - name: Upload Release Asset