chore: update ci action

This commit is contained in:
barry 2024-12-07 00:05:37 +08:00
commit a60c2ee906
3 changed files with 6 additions and 6 deletions

View file

@ -26,12 +26,12 @@ jobs:
steps: steps:
- name: Cache Qt - name: Cache Qt
id: cache-qt id: cache-qt
uses: actions/cache@v1 uses: actions/cache@v4
with: with:
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }} path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }} key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2.13.0 uses: jurplel/install-qt-action@v4.1.1
with: with:
version: ${{ matrix.qt-ver }} version: ${{ matrix.qt-ver }}
cached: ${{ steps.cache-qt.outputs.cache-hit }} cached: ${{ steps.cache-qt.outputs.cache-hit }}

View file

@ -27,13 +27,13 @@ jobs:
plantform-des: ubuntu plantform-des: ubuntu
steps: steps:
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v2.13.0 uses: jurplel/install-qt-action@v4.1.1
with: with:
version: ${{ matrix.qt-ver }} version: ${{ matrix.qt-ver }}
cached: ${{ steps.cache-qt.outputs.cache-hit }} cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Cache Qt - name: Cache Qt
id: cache-qt id: cache-qt
uses: actions/cache@v3.0.6 uses: actions/cache@v4
with: with:
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }} path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }} key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}

View file

@ -47,14 +47,14 @@ jobs:
steps: steps:
- name: Cache Qt - name: Cache Qt
id: cache-qt id: cache-qt
uses: actions/cache@v1 uses: actions/cache@v4
with: with:
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }} path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch }} key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch }}
# 安装Qt # 安装Qt
- name: Install Qt - name: Install Qt
# 使用外部action。这个action专门用来安装Qt # 使用外部action。这个action专门用来安装Qt
uses: jurplel/install-qt-action@v2.13.0 uses: jurplel/install-qt-action@v4.1.1
with: with:
# Version of Qt to install # Version of Qt to install
version: ${{ matrix.qt-ver }} version: ${{ matrix.qt-ver }}