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