ci: remove unsupported anchor syntax [skip-cache]

This commit is contained in:
undefined committed 2022-10-04 22:16:42 +08:00
1 parent 4a7f18ba14
commit ad72f156ac
1 file changed
+7 -2
+7 -2
View File
@@ -32,7 +32,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v3
if: ${{ steps.skip-cache.outputs.skip }}
with: &cacheWith
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
yarn.lock
@@ -42,7 +42,12 @@ jobs:
- uses: actions/cache@v3
if: ${{ !steps.skip-cache.outputs.skip }}
with:
<<: *cacheWith
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
yarn.lock
.cache
**/tsconfig.tsbuildinfo
key: cache-${{ github.ref }}-${{ github.sha }}
restore-keys: |
cache-${{ github.ref }}-
cache-