Skip to content

Commit 01d6268

Browse files
committed
ci: upgrade actions/cache to v4
1 parent bab8a1e commit 01d6268

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/check-zh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
3535
fetch-depth: 0
3636
- name: Cache pnpm modules
37-
uses: actions/cache@v2
37+
uses: actions/cache@v4
3838
with:
3939
path: ~/.pnpm-store
4040
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
3232
fetch-depth: 0
3333
- name: Cache pnpm modules
34-
uses: actions/cache@v2
34+
uses: actions/cache@v4
3535
with:
3636
path: ~/.pnpm-store
3737
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}

.github/workflows/lunaria.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
node-version: 20
3232

3333
- name: Cache pnpm modules
34-
uses: actions/cache@v2
34+
uses: actions/cache@v4
3535
with:
3636
path: ~/.pnpm-store
3737
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
uses: actions/setup-node@v3
4242
with:
4343
# choose node.js version to use
44-
node-version: '18'
44+
node-version: '20'
4545

4646
- name: Cache pnpm modules
47-
uses: actions/cache@v2
47+
uses: actions/cache@v4
4848
with:
4949
path: ~/.pnpm-store
5050
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}

.github/workflows/preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
repository: kongying-tavern/docs
2323

2424
- name: Cache pnpm modules
25-
uses: actions/cache@v2
25+
uses: actions/cache@v4
2626
with:
2727
path: ~/.pnpm-store
2828
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}

.github/workflows/test-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: ${{ matrix.node_version }}
2828

2929
- name: Cache pnpm modules
30-
uses: actions/cache@v2
30+
uses: actions/cache@v4
3131
with:
3232
path: ~/.pnpm-store
3333
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}

0 commit comments

Comments
 (0)