From ad72f156acb398ac3a8fff761cbc213a63bb5ffa Mon Sep 17 00:00:00 2001 From: undefined Date: Tue, 4 Oct 2022 22:16:42 +0800 Subject: [PATCH] ci: remove unsupported anchor syntax [skip-cache] --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d399423..6dfaa2e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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-