Skip to content

Commit 0df308c

Browse files
committed
Update actions/cache
1 parent e9ea8aa commit 0df308c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
# bother filing another.
8383
- name: Probe Cache
8484
id: cache
85-
uses: actions/cache/restore@v3.3.1
85+
uses: actions/cache/restore@v4
8686
with:
8787
path: ${{ env.CACHED_PATHS }}
8888
key: ${{ runner.os }}-${{ matrix.toolchain }}-${{ matrix.protocol }}-${{ github.sha }}
@@ -92,7 +92,7 @@ jobs:
9292
# This will restore the most-recently-written cache (github does this date ordering itself).
9393
- name: Restore Cache
9494
if: steps.cache.outputs.cache-hit != 'true'
95-
uses: actions/cache/restore@v3.3.1
95+
uses: actions/cache/restore@v4
9696
with:
9797
path: ${{ env.CACHED_PATHS }}
9898
key: ${{ steps.cache.outputs.cache-primary-key }}
@@ -144,7 +144,7 @@ jobs:
144144
./ci-build.sh --use-temp-db --protocol ${{ matrix.protocol }} ${{ matrix.scenario }}
145145
146146
# We only _save_ to the cache when we had a cache miss, are running on master, and are the non-txmeta scenario.
147-
- uses: actions/cache/save@v3.3.1
147+
- uses: actions/cache/save@v4
148148
if: ${{ steps.cache.outputs.cache-hit != 'true' && github.ref_name == 'master' && matrix.scenario == ''}}
149149
with:
150150
path: ${{ env.CACHED_PATHS }}

0 commit comments

Comments
 (0)