Skip to content

Commit d0ac383

Browse files
actions/cache@v2 -> @v4
Seems v2 was deprecated on Feb 1st (!) From a quick skim, seems the config remained unchanged, though. Worth a shot!
1 parent 65bbcad commit d0ac383

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Get yarn cache directory path
2020
id: yarn-cache-dir-path
2121
run: echo "::set-output name=dir::$(yarn cache dir)"
22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
2525
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Get yarn cache directory path
2626
id: yarn-cache-dir-path
2727
run: echo "::set-output name=dir::$(yarn cache dir)"
28-
- uses: actions/cache@v2
28+
- uses: actions/cache@v4
2929
with:
3030
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
3131
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Get yarn cache directory path
2020
id: yarn-cache-dir-path
2121
run: echo "::set-output name=dir::$(yarn cache dir)"
22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
2525
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Get yarn cache directory path
2020
id: yarn-cache-dir-path
2121
run: echo "::set-output name=dir::$(yarn cache dir)"
22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
2525
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

0 commit comments

Comments
 (0)