Skip to content

Commit

Permalink
Remove cache built files step (#46264
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Feb 22, 2023
1 parent 57d2963 commit 833917c
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 833917c

Please sign in to comment.