Skip to content

Commit 5d4505c

Browse files
committed
Unbreak android CI by moving to ubuntu-latest (#57216)
Backport of #57216 to 0.84-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 80a9564 commit 5d4505c

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.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:
@@ -57,7 +57,7 @@ jobs:
5757
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
5858

5959
build_npm_package:
60-
runs-on: 8-core-ubuntu
60+
runs-on: ubuntu-latest
6161
needs:
6262
[
6363
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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
working-directory: /tmp/RNTestProject
216216

217217
test_e2e_android_templateapp:
218-
runs-on: 4-core-ubuntu
218+
runs-on: ubuntu-latest
219219
needs: build_npm_package
220220
strategy:
221221
fail-fast: false
@@ -283,7 +283,7 @@ jobs:
283283
working-directory: /tmp/RNTestProject
284284

285285
run_fantom_tests:
286-
runs-on: 8-core-ubuntu
286+
runs-on: ubuntu-latest
287287
needs: [set_release_type]
288288
container:
289289
image: reactnativecommunity/react-native-android:v20.0
@@ -302,7 +302,7 @@ jobs:
302302
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
303303

304304
build_android:
305-
runs-on: 8-core-ubuntu
305+
runs-on: ubuntu-latest
306306
needs: [set_release_type]
307307
container:
308308
image: reactnativecommunity/react-native-android:v20.0
@@ -321,7 +321,7 @@ jobs:
321321
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
322322

323323
test_e2e_android_rntester:
324-
runs-on: 4-core-ubuntu
324+
runs-on: ubuntu-latest
325325
needs: [build_android]
326326
strategy:
327327
fail-fast: false
@@ -351,7 +351,7 @@ jobs:
351351
flavor: ${{ matrix.flavor }}
352352

353353
build_npm_package:
354-
runs-on: 8-core-ubuntu
354+
runs-on: ubuntu-latest
355355
needs:
356356
[
357357
set_release_type,
@@ -374,7 +374,7 @@ jobs:
374374
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
375375

376376
test_android_helloworld:
377-
runs-on: 4-core-ubuntu
377+
runs-on: ubuntu-latest
378378
needs: build_npm_package
379379
container:
380380
image: reactnativecommunity/react-native-android:v20.0

.github/workflows/test-hermes-v1-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
test-hermes-v1-android:
1414
name: Test Hermes V1 on Android
15-
runs-on: 4-core-ubuntu
15+
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
1818
flavor: [debug, release]

0 commit comments

Comments
 (0)