Skip to content

Commit f716560

Browse files
SodaWithoutSparklesFangliding
authored andcommitted
Update action/cache from v2 to v4
cache v2 已不被支援。现更新至v4。看起来不需要更改其他东西。
1 parent e0628a7 commit f716560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Get yarn cache directory path
2525
id: yarn-cache-dir-path
2626
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
27-
- uses: actions/cache@v2
27+
- uses: actions/cache@v4
2828
id: yarn-cache
2929
with:
3030
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}

0 commit comments

Comments
 (0)