From cffb488974f552bdbc1c1c5ede1d600bb3bce801 Mon Sep 17 00:00:00 2001 From: Franc Pape Date: Wed, 10 Apr 2024 13:57:29 +0200 Subject: [PATCH] Attempt to fix linux matrix 2 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}