From e256f9b06523015e34ab4ab42fefbba469dbbf28 Mon Sep 17 00:00:00 2001 From: MrStevns Date: Fri, 29 Nov 2024 19:29:02 +0100 Subject: [PATCH] Try fix linux Qt5 runner by using git manually --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ad99eb39..b939f3c17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,7 +87,16 @@ jobs: apt-add-repository -y ppa:git-core/ppa apt-get update -yq apt-get install -yq --no-install-suggests --no-install-recommends git + - name: Check out repository manually (Linux && Qt 5) + if: runner.os == 'Linux' && matrix.qt == 5 + run: | + REPO_URL="https://github.com/${GITHUB_REPOSITORY}.git" + BRANCH_NAME=${GITHUB_REF#refs/heads/} + git clone $REPO_URL + cd $GITHUB_REPOSITORY + git checkout $BRANCH_NAME - name: Check out repository + if: runner.os != 'Linux' || matrix.qt != 5 uses: actions/checkout@v3 - name: Install dependencies uses: ./.github/actions/install-dependencies