build: update GitHub Actions cache

This commit is contained in:
EnixCoda 2023-02-26 23:01:23 +08:00
parent 6c5328e6f3
commit de211e3873

View file

@ -11,10 +11,9 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache deps
uses: actions/cache@v1
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}