Skip to content

Commit 2e3d62b

Browse files
Hassan AdamHassan Adam
authored andcommitted
refactor: update actions cache version
1 parent 910cb7a commit 2e3d62b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010

11-
- uses: actions/cache@v1
11+
- uses: actions/cache@v4
1212
with:
1313
path: ~/.cache/yarn
1414
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v2
3333

34-
- uses: actions/cache@v1
34+
- uses: actions/cache
3535
with:
3636
path: ~/.cache/yarn
3737
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010

11-
- uses: actions/cache@v1
11+
- uses: actions/cache@v4 # Updated from v1 to v4
1212
with:
1313
path: ~/.cache/yarn
1414
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v2
4444

45-
- uses: actions/cache@v1
45+
- uses: actions/cache@v4 # Updated from v1 to v4
4646
with:
4747
path: ~/.cache/yarn
4848
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

0 commit comments

Comments
 (0)