diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ad99eb39..9ebd400be 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