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)
Summary: build_android is currently timing out - this should unblock it for now till we find a different solution. ## Changelog: [INTERNAL] - Pull Request resolved: https://github.com/react/react-native/pull/57216 Test Plan: CI Reviewed By: huntie Differential Revision: D108744449 Pulled By: cortinico fbshipit-source-id: 4b14252889c3d9ebcb4ad2135839233e103355d7
This commit is contained in:
1 parent
9984cf8e23
commit
097dbc288b
6 files changed
+9
-9
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:
|
||||
|
||||
@@ -38,7 +38,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:
|
||||
|
||||
@@ -42,7 +42,7 @@ on:
|
||||
jobs:
|
||||
publish-react-native:
|
||||
if: inputs.mode == 'react-native'
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
environment: npm-publish
|
||||
# `id-token: write` is required so the npm CLI can mint the OIDC
|
||||
# token that npm Trusted Publishing exchanges for a publish token.
|
||||
|
||||
@@ -220,7 +220,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:
|
||||
@@ -263,7 +263,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' &&
|
||||
@@ -309,7 +309,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
build_npm_package:
|
||||
runs-on: 8-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
[
|
||||
set_release_type,
|
||||
@@ -342,7 +342,7 @@ jobs:
|
||||
skip-apple-prebuilts: ${{ needs.check_code_changes.outputs.should_test_ios == 'false' }}
|
||||
|
||||
test_android_helloworld:
|
||||
runs-on: 4-core-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_npm_package, build_android]
|
||||
if: ${{ always() && needs.build_android.result == 'success' && needs.build_npm_package.result == 'success' }}
|
||||
container:
|
||||
|
||||
Reference in new issue
Block a user