From fcf3f2d88be7e3d7e3dc4c144beea5b7f00fda86 Mon Sep 17 00:00:00 2001 From: pajlada Date: Thu, 3 Nov 2022 20:03:16 +0100 Subject: [PATCH] Update `jurplel/install-qt-action` GitHub Action from v2 to v3 (#4106) --- .github/workflows/build.yml | 12 +++--------- .github/workflows/test.yml | 6 +++--- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f05466b0..ede984e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,17 +38,11 @@ jobs: submodules: true fetch-depth: 0 # allows for tags access - - name: Cache Qt - id: cache-qt - uses: actions/cache@v3 - with: - path: "${{ github.workspace }}/qt/" - key: ${{ runner.os }}-QtCache-${{ matrix.qt-version }} - - name: Install Qt - uses: jurplel/install-qt-action@v2 + uses: jurplel/install-qt-action@v3.0.0 with: - cached: ${{ steps.cache-qt.outputs.cache-hit }} + cache: true + cache-key-prefix: ${{ runner.os }}-QtCache-${{ matrix.qt-version }} version: ${{ matrix.qt-version }} dir: "${{ github.workspace }}/qt/" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0e38864..0c03940b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,11 +33,11 @@ jobs: path: "${{ github.workspace }}/qt/" key: ${{ runner.os }}-QtCache-${{ matrix.qt-version }} - # LINUX - name: Install Qt - uses: jurplel/install-qt-action@v2 + uses: jurplel/install-qt-action@v3.0.0 with: - cached: ${{ steps.cache-qt.outputs.cache-hit }} + cache: true + cache-key-prefix: ${{ runner.os }}-QtCache-${{ matrix.qt-version }} version: ${{ matrix.qt-version }} dir: "${{ github.workspace }}/qt/"