From a60c2ee906ce094f410c0252097e3c4ae712031b Mon Sep 17 00:00:00 2001 From: barry <870709867@qq.com> Date: Sat, 7 Dec 2024 00:05:37 +0800 Subject: [PATCH] chore: update ci action --- .github/workflows/macos.yml | 4 ++-- .github/workflows/ubuntu.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b6c342ac..aaf52eda 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -26,12 +26,12 @@ jobs: steps: - name: Cache Qt id: cache-qt - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }} key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }} - name: Install Qt - uses: jurplel/install-qt-action@v2.13.0 + uses: jurplel/install-qt-action@v4.1.1 with: version: ${{ matrix.qt-ver }} cached: ${{ steps.cache-qt.outputs.cache-hit }} diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 3baa43af..0dd2b1c9 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -27,13 +27,13 @@ jobs: plantform-des: ubuntu steps: - name: Install Qt - uses: jurplel/install-qt-action@v2.13.0 + uses: jurplel/install-qt-action@v4.1.1 with: version: ${{ matrix.qt-ver }} cached: ${{ steps.cache-qt.outputs.cache-hit }} - name: Cache Qt id: cache-qt - uses: actions/cache@v3.0.6 + uses: actions/cache@v4 with: path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }} key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 4d1b3a3e..10515984 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -47,14 +47,14 @@ jobs: steps: - name: Cache Qt id: cache-qt - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }} key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch }} # 安装Qt - name: Install Qt # 使用外部action。这个action专门用来安装Qt - uses: jurplel/install-qt-action@v2.13.0 + uses: jurplel/install-qt-action@v4.1.1 with: # Version of Qt to install version: ${{ matrix.qt-ver }}