Skip to content

Commit 45d989d

Browse files
authored
Merge pull request #30 from CoinBlack/dependabot/github_actions/actions/cache-4
build(deps): bump actions/cache from 3 to 4
2 parents 70bb699 + db4925b commit 45d989d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123

124124
- name: SDK cache
125125
if: ${{ matrix.sdk }}
126-
uses: actions/cache@v4.0.2
126+
uses: actions/cache@v4
127127
env:
128128
cache-name: sdk
129129
with:
@@ -139,7 +139,7 @@ jobs:
139139
tar -C depends/SDKs -xzvf depends/sdk-sources/Xcode-${{ matrix.sdk }}-extracted-SDK-with-libcxx-headers.tar.gz
140140
141141
- name: Dependency cache
142-
uses: actions/cache@v4.0.2
142+
uses: actions/cache@v4
143143
env:
144144
cache-name: depends
145145
with:

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: Restore Ccache cache
108108
id: ccache-cache
109-
uses: actions/cache/restore@v3
109+
uses: actions/cache/restore@v4
110110
with:
111111
path: ${{ env.CCACHE_DIR }}
112112
key: ${{ github.job }}-ccache-${{ github.run_id }}
@@ -116,7 +116,7 @@ jobs:
116116
run: ./ci/test_run_all.sh
117117

118118
- name: Save Ccache cache
119-
uses: actions/cache/save@v3
119+
uses: actions/cache/save@v4
120120
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
121121
with:
122122
path: ${{ env.CCACHE_DIR }}
@@ -209,7 +209,7 @@ jobs:
209209
210210
- name: Restore static Qt cache
211211
id: static-qt-cache
212-
uses: actions/cache/restore@v3
212+
uses: actions/cache/restore@v4
213213
with:
214214
path: C:\Qt_static
215215
key: ${{ github.job }}-static-qt-${{ hashFiles('msbuild_version', 'qt_url', 'qt_conf') }}
@@ -252,14 +252,14 @@ jobs:
252252

253253
- name: Save static Qt cache
254254
if: steps.static-qt-cache.outputs.cache-hit != 'true'
255-
uses: actions/cache/save@v3
255+
uses: actions/cache/save@v4
256256
with:
257257
path: C:\Qt_static
258258
key: ${{ github.job }}-static-qt-${{ hashFiles('msbuild_version', 'qt_url', 'qt_conf') }}
259259

260260
- name: Ccache installation cache
261261
id: ccache-installation-cache
262-
uses: actions/cache@v3
262+
uses: actions/cache@v4
263263
with:
264264
path: |
265265
C:\ProgramData\chocolatey\lib\ccache
@@ -276,7 +276,7 @@ jobs:
276276
277277
- name: Restore Ccache cache
278278
id: ccache-cache
279-
uses: actions/cache/restore@v3
279+
uses: actions/cache/restore@v4
280280
with:
281281
path: ~/AppData/Local/ccache
282282
key: ${{ github.job }}-ccache-${{ github.run_id }}
@@ -291,13 +291,13 @@ jobs:
291291
Get-Content -Path "$env:GITHUB_WORKSPACE\vcpkg_commit"
292292
293293
- name: vcpkg tools cache
294-
uses: actions/cache@v3
294+
uses: actions/cache@v4
295295
with:
296296
path: C:/vcpkg/downloads/tools
297297
key: ${{ github.job }}-vcpkg-tools
298298

299299
- name: vcpkg binary cache
300-
uses: actions/cache@v3
300+
uses: actions/cache@v4
301301
with:
302302
path: ~/AppData/Local/vcpkg/archives
303303
key: ${{ github.job }}-vcpkg-binary-${{ hashFiles('vcpkg_commit', 'msbuild_version', 'build_msvc/vcpkg.json') }}
@@ -315,7 +315,7 @@ jobs:
315315
run: ccache --show-stats
316316

317317
- name: Save Ccache cache
318-
uses: actions/cache/save@v3
318+
uses: actions/cache/save@v4
319319
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
320320
with:
321321
path: ~/AppData/Local/ccache

0 commit comments

Comments
 (0)