Unverified Commit 833917c0 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent 57d29635
...@@ -1072,19 +1072,6 @@ jobs: ...@@ -1072,19 +1072,6 @@ jobs:
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
run: node scripts/normalize-version-bump.js 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 - name: Build in docker
uses: addnab/docker-run-action@v3 uses: addnab/docker-run-action@v3
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
...@@ -1327,18 +1314,6 @@ jobs: ...@@ -1327,18 +1314,6 @@ jobs:
# we use checkout here instead of the build cache since # we use checkout here instead of the build cache since
# it can fail to restore in different OS' # it can fail to restore in different OS'
- uses: actions/checkout@v3 - 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 - name: Setup node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment