From f68620524432fc2354a69f9f905707914341d479 Mon Sep 17 00:00:00 2001 From: MrStevns Date: Fri, 29 Nov 2024 17:47:26 +0100 Subject: [PATCH] Try fix linux Qt5 runner --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ad99eb39..0d6cc5b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,10 +83,18 @@ jobs: if: runner.os == 'Linux' run: | apt-get update -yq + if [[ "${{matrix.qt}}"" == 5]]; then + wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash + export NVM_DIR="$HOME/.nvm" + [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" + nvm install 16.20.2 + nvm use 16.20.2 + fi apt-get -yq install software-properties-common apt-add-repository -y ppa:git-core/ppa apt-get update -yq apt-get install -yq --no-install-suggests --no-install-recommends git + if: runner.os == 'Linux' || matrix.qt == 5 - name: Check out repository uses: actions/checkout@v3 - name: Install dependencies