From 0621a7ae4993e75bb5744469c17c2edf2e709ab7 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 16 Mar 2024 16:02:55 +0200 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe444fc5..2e9e5b40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: echo "CC=clang-${{ matrix.config.version }}" >> $GITHUB_ENV echo "CXX=clang++-${{ matrix.config.version }}" >> $GITHUB_ENV - name: Setup Git # update git to support sparse-checkout for gcc:7 images - if: contains(env.GITHUB_JOB_CONTAINER_IMAGE, 'gcc:7') + if: matrix.config.compiler == 'gcc' && matrix.config.version == 7 run: | sudo add-apt-repository ppa:git-core/ppa -y sudo apt-get update