diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ee1687..a7b415a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,7 +91,7 @@ jobs: target: [ amd64, arm64 ] include: - target: amd64 - CGO_ENABLED: 0 + CGO_ENABLED: 1 GOARCH: amd64 CC: gcc - target: arm64 @@ -116,7 +116,7 @@ jobs: with: name: grpc path: pkg/a2l - - if: ${{ matrix.CGO_ENABLED == 1 }} + - if: ${{ matrix.CC != 'gcc' }} run: | wget ${{ matrix.toolchain_source }} ${{ matrix.toolchain_extract }}