Unverified Commit 930d27e6 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub
parent b954bbe6
...@@ -671,7 +671,7 @@ jobs: ...@@ -671,7 +671,7 @@ jobs:
testFirefox: testFirefox:
name: Test Firefox (production) name: Test Firefox (production)
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
needs: [build, build-native-test] needs: [build, build-native-test]
timeout-minutes: 10 timeout-minutes: 10
env: env:
...@@ -696,7 +696,7 @@ jobs: ...@@ -696,7 +696,7 @@ jobs:
testSafari: testSafari:
name: Test Safari (production) name: Test Safari (production)
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
needs: [build, build-native-test] needs: [build, build-native-test]
timeout-minutes: 15 timeout-minutes: 15
env: env:
...@@ -725,7 +725,7 @@ jobs: ...@@ -725,7 +725,7 @@ jobs:
testFirefoxNode18: testFirefoxNode18:
name: Test Firefox Node.js 18 name: Test Firefox Node.js 18
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
needs: [build, testFirefox, build-native-test] needs: [build, testFirefox, build-native-test]
timeout-minutes: 10 timeout-minutes: 10
env: env:
...@@ -983,7 +983,7 @@ jobs: ...@@ -983,7 +983,7 @@ jobs:
test-wasm: test-wasm:
name: Test the wasm build name: Test the wasm build
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
timeout-minutes: 15 timeout-minutes: 15
needs: [build, build-native-test, build-wasm-dev] needs: [build, build-native-test, build-wasm-dev]
......
...@@ -63,14 +63,14 @@ jobs: ...@@ -63,14 +63,14 @@ jobs:
# We will not get exact match, but doc says # 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." # "If there are multiple partial matches for a restore key, the action returns the most recently created cache."
# 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: 5 # 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') }}
restore-keys: | # restore-keys: |
next-swc-cargo-cache-ubuntu-latest # next-swc-cargo-cache-ubuntu-latest
- name: Build in docker - name: Build in docker
uses: addnab/docker-run-action@v3 uses: addnab/docker-run-action@v3
...@@ -88,9 +88,6 @@ jobs: ...@@ -88,9 +88,6 @@ jobs:
turbo run build-native --cache-dir=".turbo" -- --target x86_64-unknown-linux-gnu && turbo run build-native --cache-dir=".turbo" -- --target x86_64-unknown-linux-gnu &&
strip packages/next-swc/native/next-swc.*.node strip packages/next-swc/native/next-swc.*.node
- run: sudo chown -R $USER:$GROUP ./packages/next-swc/target
if: ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
......
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