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 }} github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v3 - uses: actions/cache@v3
if: ${{ steps.skip-cache.outputs.skip }} if: ${{ steps.skip-cache.outputs.skip }}
with: &cacheWith with:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
yarn.lock yarn.lock
@@ -42,7 +42,12 @@ jobs:
- uses: actions/cache@v3 - uses: actions/cache@v3
if: ${{ !steps.skip-cache.outputs.skip }} if: ${{ !steps.skip-cache.outputs.skip }}
with: with:
<<: *cacheWith path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
yarn.lock
.cache
**/tsconfig.tsbuildinfo
key: cache-${{ github.ref }}-${{ github.sha }}
restore-keys: | restore-keys: |
cache-${{ github.ref }}- cache-${{ github.ref }}-
cache- cache-