Unverified Commit 1596e12b authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent 85468326
...@@ -73,7 +73,7 @@ jobs: ...@@ -73,7 +73,7 @@ jobs:
run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT run: echo STORE_PATH=$(pnpm store path) >> $GITHUB_OUTPUT
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: cache-pnpm-store id: cache-pnpm-store
with: with:
path: ${{ steps.get-store-path.outputs.STORE_PATH }} path: ${{ steps.get-store-path.outputs.STORE_PATH }}
...@@ -102,7 +102,7 @@ jobs: ...@@ -102,7 +102,7 @@ jobs:
run: echo "WEEK=$(date +%U)" >> $GITHUB_OUTPUT run: echo "WEEK=$(date +%U)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: cache-build id: cache-build
with: with:
path: ./* path: ./*
...@@ -121,7 +121,7 @@ jobs: ...@@ -121,7 +121,7 @@ jobs:
- run: npm i -g pnpm@${PNPM_VERSION} - run: npm i -g pnpm@${PNPM_VERSION}
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: restore-build id: restore-build
with: with:
path: ./* path: ./*
...@@ -134,7 +134,7 @@ jobs: ...@@ -134,7 +134,7 @@ jobs:
needs: build needs: build
steps: steps:
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: restore-build id: restore-build
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
with: with:
...@@ -156,7 +156,7 @@ jobs: ...@@ -156,7 +156,7 @@ jobs:
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.swc-change.outputs.SWC_CHANGE == 'yup' }} if: ${{ steps.swc-change.outputs.SWC_CHANGE == 'yup' }}
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
...@@ -164,7 +164,7 @@ jobs: ...@@ -164,7 +164,7 @@ jobs:
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.swc-change.outputs.SWC_CHANGE == 'yup' }} if: ${{ steps.swc-change.outputs.SWC_CHANGE == 'yup' }}
with: with:
path: ~/.cargo/git path: ~/.cargo/git
...@@ -203,7 +203,7 @@ jobs: ...@@ -203,7 +203,7 @@ jobs:
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -240,7 +240,7 @@ jobs: ...@@ -240,7 +240,7 @@ jobs:
check-latest: true check-latest: true
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -280,7 +280,7 @@ jobs: ...@@ -280,7 +280,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -341,7 +341,7 @@ jobs: ...@@ -341,7 +341,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -401,7 +401,7 @@ jobs: ...@@ -401,7 +401,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -452,7 +452,7 @@ jobs: ...@@ -452,7 +452,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -498,7 +498,7 @@ jobs: ...@@ -498,7 +498,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ needs.build.outputs.docsChange == 'nope' }} if: ${{ needs.build.outputs.docsChange == 'nope' }}
id: restore-build id: restore-build
with: with:
...@@ -574,7 +574,7 @@ jobs: ...@@ -574,7 +574,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -630,7 +630,7 @@ jobs: ...@@ -630,7 +630,7 @@ jobs:
check-latest: true check-latest: true
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -678,7 +678,7 @@ jobs: ...@@ -678,7 +678,7 @@ jobs:
NEXT_TELEMETRY_DISABLED: 1 NEXT_TELEMETRY_DISABLED: 1
steps: steps:
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -707,7 +707,7 @@ jobs: ...@@ -707,7 +707,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -732,7 +732,7 @@ jobs: ...@@ -732,7 +732,7 @@ jobs:
NEXT_TELEMETRY_DISABLED: 1 NEXT_TELEMETRY_DISABLED: 1
steps: steps:
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -772,7 +772,7 @@ jobs: ...@@ -772,7 +772,7 @@ jobs:
run: sudo ethtool -K eth0 tx off rx off run: sudo ethtool -K eth0 tx off rx off
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: restore-build id: restore-build
with: with:
path: ./* path: ./*
...@@ -803,7 +803,7 @@ jobs: ...@@ -803,7 +803,7 @@ jobs:
VERCEL_TEST_TEAM: vtest314-next-e2e-tests VERCEL_TEST_TEAM: vtest314-next-e2e-tests
steps: steps:
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: restore-build id: restore-build
with: with:
path: ./* path: ./*
...@@ -843,7 +843,7 @@ jobs: ...@@ -843,7 +843,7 @@ jobs:
check-latest: true check-latest: true
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: restore-build id: restore-build
with: with:
path: ./* path: ./*
...@@ -878,7 +878,7 @@ jobs: ...@@ -878,7 +878,7 @@ jobs:
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
...@@ -886,7 +886,7 @@ jobs: ...@@ -886,7 +886,7 @@ jobs:
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
path: ~/.cargo/git path: ~/.cargo/git
...@@ -899,7 +899,7 @@ jobs: ...@@ -899,7 +899,7 @@ jobs:
- name: Turbo Cache - name: Turbo Cache
id: turbo-cache id: turbo-cache
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
path: .turbo path: .turbo
...@@ -987,7 +987,7 @@ jobs: ...@@ -987,7 +987,7 @@ jobs:
steps: steps:
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -1197,14 +1197,14 @@ jobs: ...@@ -1197,14 +1197,14 @@ jobs:
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: ${{ matrix.settings.target }}-cargo-registry key: ${{ matrix.settings.target }}-cargo-registry
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
with: with:
path: ~/.cargo/git path: ~/.cargo/git
key: ${{ matrix.settings.target }}-cargo-index key: ${{ matrix.settings.target }}-cargo-index
...@@ -1383,7 +1383,7 @@ jobs: ...@@ -1383,7 +1383,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
id: restore-build id: restore-build
with: with:
...@@ -1411,7 +1411,7 @@ jobs: ...@@ -1411,7 +1411,7 @@ jobs:
- name: Turbo Cache - name: Turbo Cache
id: turbo-cache id: turbo-cache
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
with: with:
path: .turbo path: .turbo
...@@ -1471,7 +1471,7 @@ jobs: ...@@ -1471,7 +1471,7 @@ jobs:
check-latest: true check-latest: true
- uses: actions/cache@v3 - uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
id: restore-build id: restore-build
if: ${{needs.build.outputs.docsChange == 'nope'}} if: ${{needs.build.outputs.docsChange == 'nope'}}
with: with:
......
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
...@@ -37,7 +37,7 @@ jobs: ...@@ -37,7 +37,7 @@ jobs:
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
path: ~/.cargo/git path: ~/.cargo/git
...@@ -50,7 +50,7 @@ jobs: ...@@ -50,7 +50,7 @@ jobs:
- name: Turbo Cache - name: Turbo Cache
id: turbo-cache id: turbo-cache
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }} if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
with: with:
path: .turbo path: .turbo
...@@ -65,7 +65,7 @@ jobs: ...@@ -65,7 +65,7 @@ jobs:
# So we get latest cache # So we get latest cache
- name: Cache built files - name: Cache built files
uses: actions/cache@v3 uses: actions/cache@v3
timeout-minutes: 2 timeout-minutes: 5
with: with:
path: ./packages/next-target path: ./packages/next-target
key: next-swc-cargo-cache-ubuntu-latest--${{ hashFiles('**/Cargo.lock') }} key: next-swc-cargo-cache-ubuntu-latest--${{ hashFiles('**/Cargo.lock') }}
......
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