From c99b2a4854d9490a2954cecdd468e9502407e4cb Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 28 Feb 2025 09:05:37 -0800 Subject: [PATCH] Connect the prebuild-ios workflow with other workflows (#49731) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49731 This change runs the prebuilds in all the workflows we need: - test-all - nightlies - create-release ## Changelog: [Internal] - connect the rebuild-ios workflow with the other workflows Reviewed By: cortinico Differential Revision: D70331579 fbshipit-source-id: 6505a32672d43d06e29e68d37bd0ceff21bd7386 --- .github/workflows/nightly.yml | 3 +++ .github/workflows/prebuild-ios.yml | 1 - .github/workflows/publish-release.yml | 2 ++ .github/workflows/test-all.yml | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b082b1eb0c7..8b999138b28 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -100,6 +100,9 @@ jobs: react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }} flavor: ${{ matrix.flavor }} + prebuild_apple_dependencies: + uses: ./.github/workflows/prebuild-ios.yml + build_hermesc_linux: runs-on: ubuntu-latest needs: prepare_hermes_workspace diff --git a/.github/workflows/prebuild-ios.yml b/.github/workflows/prebuild-ios.yml index e4e83bbd6f4..49da6fae7d7 100644 --- a/.github/workflows/prebuild-ios.yml +++ b/.github/workflows/prebuild-ios.yml @@ -2,7 +2,6 @@ name: Prebuild iOS on: workflow_call: # this directive allow us to call this workflow from other workflows - pull_request: # remove this before landing jobs: prepare_workspace: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index d230247f746..6c4f1db2a1c 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -96,6 +96,8 @@ jobs: hermes-version: ${{ needs.prepare_hermes_workspace.outputs.hermes-version }} react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }} flavor: ${{ matrix.flavor }} + prebuild_apple_dependencies: + uses: ./.github/workflows/prebuild-ios.yml build_hermesc_linux: runs-on: ubuntu-latest diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 9e235bcf69c..4a16bc7ba21 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -116,6 +116,9 @@ jobs: react-native-version: ${{ needs.prepare_hermes_workspace.outputs.react-native-version }} flavor: ${{ matrix.flavor }} + prebuild_apple_dependencies: + uses: ./.github/workflows/prebuild-ios.yml + test_ios_rntester_ruby_3_2_0: runs-on: macos-13 needs: