mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Unbreak android CI by moving to ubuntu-latest (#57216)
Backport of #57216 to 0.86-stable. Move CI jobs off the timing-out 4-core-ubuntu / 8-core-ubuntu runners to ubuntu-latest across the Android, fantom, build and publish workflows. macOS runners are unchanged. This is the equivalent of upstream commit 097dbc288b8f803caea324ae9522f0262b300a07; applied manually because the workflow files have diverged on this branch and a direct cherry-pick conflicts.
This commit is contained in:
1 parent
1e1fd4fbf3
commit
a8eb4f70c7
6 files changed
+10
-10
No files matched your search
@@ -16,7 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: 4-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
status: ${{ steps.report-status.outputs.status }}
|
||||
strategy:
|
||||
|
||||
@@ -16,7 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: 4-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
status: ${{ steps.report-status.outputs.status }}
|
||||
strategy:
|
||||
|
||||
@@ -16,7 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
status: ${{ steps.report-status.outputs.status }}
|
||||
container:
|
||||
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
needs: [prebuild_apple_dependencies]
|
||||
|
||||
build_android:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'react/react-native'
|
||||
needs: [set_release_type]
|
||||
container:
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
|
||||
|
||||
build_npm_package:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
[
|
||||
set_release_type,
|
||||
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
needs: [prebuild_apple_dependencies]
|
||||
|
||||
build_npm_package:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
[
|
||||
set_release_type,
|
||||
|
||||
@@ -214,7 +214,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
build_fantom_runner:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs: [set_release_type, check_code_changes, lint]
|
||||
if: needs.check_code_changes.outputs.any_code_change == 'true'
|
||||
container:
|
||||
@@ -257,7 +257,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
build_android:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs: [set_release_type, check_code_changes]
|
||||
if: |
|
||||
needs.check_code_changes.outputs.any_code_change == 'true' &&
|
||||
@@ -302,7 +302,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
build_npm_package:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
[
|
||||
set_release_type,
|
||||
@@ -329,7 +329,7 @@ jobs:
|
||||
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
|
||||
|
||||
test_android_helloworld:
|
||||
runs-on: 4-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs: build_npm_package
|
||||
container:
|
||||
image: reactnativecommunity/react-native-android:latest
|
||||
|
||||
Reference in new issue
Block a user