Skip to content

Commit ac32ee9

Browse files
committed
ci: Update GHA actions
1 parent 84d388d commit ac32ee9

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/artifacts.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
7373
- name: Depends cache
7474
id: depends_cache
75-
uses: actions/cache@v3
75+
uses: actions/cache@v4
7676
with:
7777
path: |
7878
depends/built
@@ -93,7 +93,7 @@ jobs:
9393
make -j$(nproc) HOST=${{ matrix.host.triplet }} LOG=1
9494
9595
- name: Restore Ccache cache
96-
uses: actions/cache/restore@v3
96+
uses: actions/cache/restore@v4
9797
id: ccache-cache
9898
with:
9999
path: ${{ env.CCACHE_DIR }}
@@ -112,13 +112,13 @@ jobs:
112112
ccache --version | head -n 1 && ccache --show-stats
113113
114114
- name: Save Ccache cache
115-
uses: actions/cache/save@v3
115+
uses: actions/cache/save@v4
116116
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
117117
with:
118118
path: ${{ env.CCACHE_DIR }}
119119
key: ${{ matrix.host.triplet }}-ccache-${{ github.run_id }}
120120

121-
- uses: actions/upload-artifact@v3
121+
- uses: actions/upload-artifact@v4
122122
with:
123123
name: ${{ matrix.host.artifact }}
124124
path: src/qt/${{ matrix.host.gui_exe }}
@@ -183,7 +183,7 @@ jobs:
183183
run: |
184184
make -j$(nproc) -C src/qt apk
185185
186-
- uses: actions/upload-artifact@v3
186+
- uses: actions/upload-artifact@v4
187187
with:
188188
name: ${{ matrix.host.artifact }}
189189
path: src/qt/android/build/outputs/apk/debug/android-debug.apk

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
run: echo "CCACHE_DIR=${RUNNER_TEMP}/ccache_dir" >> "$GITHUB_ENV"
6767

6868
- name: Restore Ccache cache
69-
uses: actions/cache/restore@v3
69+
uses: actions/cache/restore@v4
7070
with:
7171
path: ${{ env.CCACHE_DIR }}
7272
key: ${{ github.job }}-ccache-${{ github.run_id }}
@@ -76,7 +76,7 @@ jobs:
7676
run: ./ci/test_run_all.sh
7777

7878
- name: Save Ccache cache
79-
uses: actions/cache/save@v3
79+
uses: actions/cache/save@v4
8080
if: github.event_name != 'pull_request'
8181
with:
8282
path: ${{ env.CCACHE_DIR }}
@@ -151,7 +151,7 @@ jobs:
151151
152152
- name: Restore static Qt cache
153153
id: static-qt-cache
154-
uses: actions/cache/restore@v3
154+
uses: actions/cache/restore@v4
155155
with:
156156
path: C:\Qt_static
157157
key: ${{ github.job }}-static-qt-${{ hashFiles('msbuild_version', 'qt_url', 'qt_conf') }}
@@ -194,14 +194,14 @@ jobs:
194194

195195
- name: Save static Qt cache
196196
if: steps.static-qt-cache.outputs.cache-hit != 'true'
197-
uses: actions/cache/save@v3
197+
uses: actions/cache/save@v4
198198
with:
199199
path: C:\Qt_static
200200
key: ${{ github.job }}-static-qt-${{ hashFiles('msbuild_version', 'qt_url', 'qt_conf') }}
201201

202202
- name: Ccache installation cache
203203
id: ccache-installation-cache
204-
uses: actions/cache@v3
204+
uses: actions/cache@v4
205205
with:
206206
path: |
207207
C:\ProgramData\chocolatey\lib\ccache
@@ -217,7 +217,7 @@ jobs:
217217
Copy-Item -Path "$env:ChocolateyInstall\lib\ccache\tools\ccache-$env:CI_CCACHE_VERSION-windows-x86_64\ccache.exe" -Destination "C:\ccache\cl.exe"
218218
219219
- name: Restore Ccache cache
220-
uses: actions/cache/restore@v3
220+
uses: actions/cache/restore@v4
221221
with:
222222
path: ~/AppData/Local/ccache
223223
key: ${{ github.job }}-ccache-${{ github.run_id }}
@@ -232,13 +232,13 @@ jobs:
232232
Get-Content -Path "$env:GITHUB_WORKSPACE\vcpkg_commit"
233233
234234
- name: vcpkg tools cache
235-
uses: actions/cache@v3
235+
uses: actions/cache@v4
236236
with:
237237
path: C:/vcpkg/downloads/tools
238238
key: ${{ github.job }}-vcpkg-tools
239239

240240
- name: vcpkg binary cache
241-
uses: actions/cache@v3
241+
uses: actions/cache@v4
242242
with:
243243
path: ~/AppData/Local/vcpkg/archives
244244
key: ${{ github.job }}-vcpkg-binary-${{ hashFiles('vcpkg_commit', 'msbuild_version', 'build_msvc/vcpkg.json') }}
@@ -256,7 +256,7 @@ jobs:
256256
run: ccache --show-stats
257257

258258
- name: Save Ccache cache
259-
uses: actions/cache/save@v3
259+
uses: actions/cache/save@v4
260260
if: github.event_name != 'pull_request'
261261
with:
262262
path: ~/AppData/Local/ccache

0 commit comments

Comments
 (0)