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 }}
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