ci: remove unsupported anchor syntax [skip-cache]

pull/431/head
undefined 2 years ago
parent 4a7f18ba14
commit ad72f156ac

@ -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-

Loading…
Cancel
Save