chore: fix workflows

This commit is contained in:
Zeke Zhang 2023-12-19 14:38:56 +08:00
parent 24446166db
commit a8ae078baa

View File

@ -51,9 +51,7 @@ jobs:
- uses: actions/cache@v3 - uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with: with:
path: | path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-