Skip to content

Commit a8eb4f7

Browse files
committed
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 097dbc2; applied manually because the workflow files have diverged on this branch and a direct cherry-pick conflicts.
1 parent 1e1fd4f commit a8eb4f7

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/e2e-android-rntester.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
test:
19-
runs-on: 4-core-ubuntu
19+
runs-on: ubuntu-latest
2020
outputs:
2121
status: ${{ steps.report-status.outputs.status }}
2222
strategy:

.github/workflows/e2e-android-templateapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
test:
19-
runs-on: 4-core-ubuntu
19+
runs-on: ubuntu-latest
2020
outputs:
2121
status: ${{ steps.report-status.outputs.status }}
2222
strategy:

.github/workflows/fantom-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
test:
19-
runs-on: 8-core-ubuntu
19+
runs-on: ubuntu-latest
2020
outputs:
2121
status: ${{ steps.report-status.outputs.status }}
2222
container:

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
needs: [prebuild_apple_dependencies]
3636

3737
build_android:
38-
runs-on: 8-core-ubuntu
38+
runs-on: ubuntu-latest
3939
if: github.repository == 'react/react-native'
4040
needs: [set_release_type]
4141
container:
@@ -61,7 +61,7 @@ jobs:
6161
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
6262

6363
build_npm_package:
64-
runs-on: 8-core-ubuntu
64+
runs-on: ubuntu-latest
6565
needs:
6666
[
6767
set_release_type,

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
needs: [prebuild_apple_dependencies]
5353

5454
build_npm_package:
55-
runs-on: 8-core-ubuntu
55+
runs-on: ubuntu-latest
5656
needs:
5757
[
5858
set_release_type,

.github/workflows/test-all.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
secrets: inherit
215215

216216
build_fantom_runner:
217-
runs-on: 8-core-ubuntu
217+
runs-on: ubuntu-latest
218218
needs: [set_release_type, check_code_changes, lint]
219219
if: needs.check_code_changes.outputs.any_code_change == 'true'
220220
container:
@@ -257,7 +257,7 @@ jobs:
257257
secrets: inherit
258258

259259
build_android:
260-
runs-on: 8-core-ubuntu
260+
runs-on: ubuntu-latest
261261
needs: [set_release_type, check_code_changes]
262262
if: |
263263
needs.check_code_changes.outputs.any_code_change == 'true' &&
@@ -302,7 +302,7 @@ jobs:
302302
secrets: inherit
303303

304304
build_npm_package:
305-
runs-on: 8-core-ubuntu
305+
runs-on: ubuntu-latest
306306
needs:
307307
[
308308
set_release_type,
@@ -329,7 +329,7 @@ jobs:
329329
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
330330

331331
test_android_helloworld:
332-
runs-on: 4-core-ubuntu
332+
runs-on: ubuntu-latest
333333
needs: build_npm_package
334334
container:
335335
image: reactnativecommunity/react-native-android:latest

0 commit comments

Comments
 (0)