From b32335c29984c4ec9e0f80fadd8b78cd0ee1862f Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 8 Nov 2024 04:28:32 -0800 Subject: [PATCH] Only build ios in check nightlies (#47506) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47506 The Check nightlies job prepare a new nightly app with additional libraries and on iOS it builds with `yarn ios`. The command tries to launch the app on the simulator which sometimes fails and this can make the jobs keep running for hours. This change make sure that we only build the app ## Changelog: [Internal] - Only build iOS in CI for Check Nightlies Reviewed By: blakef Differential Revision: D65656812 fbshipit-source-id: 14db3738f33f8024c9e99fe206b170209154bac7 --- .github/actions/test-library-on-nightly/action.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/actions/test-library-on-nightly/action.yml b/.github/actions/test-library-on-nightly/action.yml index 1d59aec18fa..f6fdaa21446 100644 --- a/.github/actions/test-library-on-nightly/action.yml +++ b/.github/actions/test-library-on-nightly/action.yml @@ -28,8 +28,10 @@ runs: cd /tmp/RNApp/ios bundle install bundle exec pod install - cd .. - yarn ios + xcodebuild build \ + -workspace RNApp.xcworkspace \ + -scheme RNApp \ + -sdk iphonesimulator - name: Setup Java for Android if: ${{ inputs.platform == 'android' }} uses: actions/setup-java@v2