Skip to content

Commit

Permalink
Do the Qt version check before installing it
Browse files Browse the repository at this point in the history
  • Loading branch information
martinburchell committed Feb 27, 2024
1 parent cb0e652 commit 2129448
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Qt version check
run: |
set -euxo pipefail
test "${{ env.QT_VERSION }}" == "$(cat ${GITHUB_WORKSPACE}/tablet_qt/qt_version.txt)"
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ env.QT_VERSION }}
arch: gcc_64
modules: qtmultimedia
- name: Qt version check
run: |
set -euxo pipefail
test "${{ env.QT_VERSION }}" == "$(cat ${GITHUB_WORKSPACE}/tablet_qt/qt_version.txt)"
- name: Ubuntu prerequisites
run: |
set -eux -o pipefail
Expand Down

0 comments on commit 2129448

Please sign in to comment.