From e32b03b6a3cf7cf2de538436ab0f3e3b1294741e Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Fri, 4 Oct 2024 21:39:18 +1000 Subject: [PATCH] Correct the `env.cc` reference --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 331cf9afe..52d2fb422 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -218,7 +218,7 @@ jobs: if [[ '${{ matrix.qt }}' =~ ^(5|6\.[01])\. ]]; then arch=x86_64 # GitHub runners' (homebrew'd) gcc's only support support x86-64 prior to macos-14, and only arm64 after. # Note: if we attempt to use multiple archs, gcc will warn, but continue, resulting in later failures. - elif [[ '${{ matrix.cc }}' == gcc-* ]]; then + elif [[ '${{ matrix.env.cc }}' == gcc-* ]]; then if [[ '${{ matrix.os }}' == 'macos-13' ]]; then arch='x86_64'; else arch='arm64'; fi # Otherwise, default to universal binaries, where possible. else arch='arm64;x86_64'; fi