Skip to content

Commit bb9f1eb

Browse files
authored
fix: updated the cache to v4 due to EOL of v2. (#834)
1 parent 266942e commit bb9f1eb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
GH_TOKEN: ${{ secrets.GH_BRANCH_PROTECTION }} # needs to be an admin token to get around branch protection
1515
GH_PR_TOKEN: ${{ secrets.GH_PR_TOKEN }}
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
# Yes, we really want to checkout the PR
1919
with:
2020
token: ${{ secrets.GH_BRANCH_PROTECTION }} # needs to be an admin token to get around branch protection
@@ -33,7 +33,7 @@ jobs:
3333
shell: bash
3434
run: corepack enable
3535

36-
- uses: actions/cache@v2
36+
- uses: actions/cache@v4
3737
id: yarn-cache
3838
name: Cache npm deps
3939
with:

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
env:
88
GH_PR_NUM: ${{ github.event.number }}
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
# Yes, we really want to checkout the PR
1212
- run: |
1313
if [[ ! -z "${GH_PR_NUM}" ]]; then
@@ -20,7 +20,7 @@ jobs:
2020
node-version: '18'
2121
- run: corepack enable
2222
- run: corepack prepare [email protected] --activate
23-
- uses: actions/cache@v2
23+
- uses: actions/cache@v4
2424
id: yarn-cache
2525
name: Cache npm deps
2626
with:
@@ -39,7 +39,7 @@ jobs:
3939
env:
4040
GH_PR_NUM: ${{ github.event.number }}
4141
steps:
42-
- uses: actions/checkout@v2
42+
- uses: actions/checkout@v4
4343
# Yes, we really want to checkout the PR
4444
- run: |
4545
if [[ ! -z "${GH_PR_NUM}" ]]; then
@@ -52,7 +52,7 @@ jobs:
5252
node-version: '18'
5353
- run: corepack enable
5454
- run: corepack prepare [email protected] --activate
55-
- uses: actions/cache@v2
55+
- uses: actions/cache@v4
5656
id: yarn-cache
5757
name: Cache npm deps
5858
with:
@@ -71,7 +71,7 @@ jobs:
7171
env:
7272
GH_PR_NUM: ${{ github.event.number }}
7373
steps:
74-
- uses: actions/checkout@v2
74+
- uses: actions/checkout@v4
7575
# Yes, we really want to checkout the PR
7676
- run: |
7777
if [[ ! -z "${GH_PR_NUM}" ]]; then
@@ -84,7 +84,7 @@ jobs:
8484
node-version: '18'
8585
- run: corepack enable
8686
- run: corepack prepare [email protected] --activate
87-
- uses: actions/cache@v2
87+
- uses: actions/cache@v4
8888
id: yarn-cache
8989
name: Cache npm deps
9090
with:
@@ -94,7 +94,7 @@ jobs:
9494
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
9595
- run: yarn install --frozen-lockfile
9696
if: steps.yarn-cache.outputs.cache-hit != 'true'
97-
- uses: actions/cache@v2
97+
- uses: actions/cache@v4
9898
id: packages-cache
9999
name: Cache downloaded packages
100100
with:

0 commit comments

Comments
 (0)