Skip to content

Commit 40f173b

Browse files
committed
Fix actions/cache deprecation
1 parent 7534989 commit 40f173b

7 files changed

+7
-7
lines changed

.github/workflows/depcheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: yarn-cache-dir
3131
run: echo "::set-output name=dir::$(yarn cache dir)"
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: ${{ steps.yarn-cache-dir.outputs.dir }}
3636
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: yarn-cache-dir
3131
run: echo "::set-output name=dir::$(yarn cache dir)"
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: ${{ steps.yarn-cache-dir.outputs.dir }}
3636
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test-compat.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: yarn-cache-dir
3131
run: echo "::set-output name=dir::$(yarn cache dir)"
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: ${{ steps.yarn-cache-dir.outputs.dir }}
3636
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test-consumer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: yarn-cache-dir
3131
run: echo "::set-output name=dir::$(yarn cache dir)"
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: ${{ steps.yarn-cache-dir.outputs.dir }}
3636
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test-repoutils.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: yarn-cache-dir
3131
run: echo "::set-output name=dir::$(yarn cache dir)"
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: ${{ steps.yarn-cache-dir.outputs.dir }}
3636
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/test-schemas.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
id: yarn-cache-dir
3131
run: echo "::set-output name=dir::$(yarn cache dir)"
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: ${{ steps.yarn-cache-dir.outputs.dir }}
3636
key: ${{ runner.os }}-node22.x-yarn-${{ hashFiles('**/yarn.lock') }}

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
id: yarn-cache-dir
3636
run: echo "::set-output name=dir::$(yarn cache dir)"
3737

38-
- uses: actions/cache@v2
38+
- uses: actions/cache@v4
3939
with:
4040
path: ${{ steps.yarn-cache-dir.outputs.dir }}
4141
key: ${{ runner.os }}-node${{ matrix.node-version }}-yarn-${{ hashFiles('**/yarn.lock') }}

0 commit comments

Comments
 (0)