From 833917c06e54c2759e286fd997465ae959a27632 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Wed, 22 Feb 2023 12:21:46 -0800 Subject: [PATCH] Remove cache built files step (#46264 x-ref: https://github.com/vercel/next.js/actions/runs/4245921677/jobs/7382113875 --- .github/workflows/build_test_deploy.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 6c43b333a5843..20cf54fb8bf28 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -1072,19 +1072,6 @@ jobs: if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} run: node scripts/normalize-version-bump.js - # We use restore-key to pick latest cache. - # We will not get exact match, but doc says - # "If there are multiple partial matches for a restore key, the action returns the most recently created cache." - # So we get latest cache - # - name: Cache built files - # uses: actions/cache@v3 - # timeout-minutes: 5 - # with: - # path: ./packages/next-swc/target - # key: next-swc-cargo-cache-dev-ubuntu-latest-${{ hashFiles('**/Cargo.lock') }} - # restore-keys: | - # next-swc-cargo-cache-dev-ubuntu-latest - - name: Build in docker uses: addnab/docker-run-action@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} @@ -1327,18 +1314,6 @@ jobs: # we use checkout here instead of the build cache since # it can fail to restore in different OS' - uses: actions/checkout@v3 - # We use restore-key to pick latest cache. - # We will not get exact match, but doc says - # "If there are multiple partial matches for a restore key, the action returns the most recently created cache." - # So we get latest cache - - name: Cache built files - uses: actions/cache@v3 - timeout-minutes: 5 - with: - path: ./packages/next-swc/target - key: next-swc-cargo-cache-${{ matrix.settings.target }}--${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - next-swc-cargo-cache-${{ matrix.settings.target }} - name: Setup node uses: actions/setup-node@v3