Skip to content

Commit

Permalink
Try fix linux Qt5 runner by using git manually
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Nov 29, 2024
1 parent 685f96f commit e256f9b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e256f9b

Please sign in to comment.