Skip to content

Commit 417cbd6

Browse files
committed
Is this how we cache?
1 parent 91fbea0 commit 417cbd6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/new-workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cache: yarn
2828

2929
- name: Check cache for repotools
30-
uses: actions/cache@v4/restore
30+
uses: actions/cache/restore@v4
3131
id: cache-repotools
3232
with:
3333
path: ./lib/repotools/dist
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Cache Repotools
4444
if: steps.cache-repotools.outputs.cache-hit != 'true'
45-
uses: actions/cache@v4/save
45+
uses: actions/cache/save@v4
4646
with:
4747
path: ./lib/repotools/dist
4848
key: repotools
@@ -51,7 +51,7 @@ jobs:
5151
run: yarn workspaces focus @sourceacademy/modules-buildtools
5252

5353
- name: Check cache for buildtools
54-
uses: actions/cache@v4/restore
54+
uses: actions/cache/restore@v4
5555
id: cache-buildtools
5656
with:
5757
path: ./lib/buildtools/bin/index.js
@@ -63,7 +63,7 @@ jobs:
6363

6464
- name: Cache Buildtools
6565
if: steps.cache-repotools.outputs.cache-hit != 'true'
66-
uses: actions/cache@v4/save
66+
uses: actions/cache/save@v4
6767
with:
6868
path: ./lib/buildtools/bin/index.js
6969
key: buildtools
@@ -170,7 +170,7 @@ jobs:
170170
run: cd ${{ matrix.package.directory }}
171171

172172
- name: Restore buildtools
173-
uses: actions/cache@v4/restore
173+
uses: actions/cache/restore@v4
174174
with:
175175
key: buildtools
176176
path: ./lib/buildtools/bin/index.js

0 commit comments

Comments
 (0)