chore: update ci

This commit is contained in:
jinmao88 2023-01-30 15:58:36 +08:00
parent d02ab2d220
commit 0ad30503a7
1 changed files with 4 additions and 4 deletions

View File

@ -72,14 +72,14 @@ jobs:
with: with:
node-version: '16.x' node-version: '16.x'
# - name: Get yarn cache - name: Get yarn cache directory path
# id: yarn-cache id: yarn-cache-dir-path
# run: echo "::set-output name=dir::$(yarn cache dir)" run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies - name: Cache dependencies
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: ${{ steps.yarn-cache.outputs.dir }} path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-