Skip to content

Commit 080a7b3

Browse files
committed
Fix RNTester prebuild mode in iOS CI
1 parent b8e45a5 commit 080a7b3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/actions/test-ios-rntester/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,19 @@ runs:
9999
if [[ "${{ steps.prebuilds.outputs.enabled }}" == "true" ]]; then
100100
export RCT_USE_LOCAL_RN_DEP="/tmp/third-party/ReactNativeDependencies${{ inputs.flavor }}.xcframework.tar.gz"
101101
export RCT_TESTONLY_RNCORE_TARBALL_PATH="/tmp/ReactCore/ReactCore${{ inputs.flavor }}.xcframework.tar.gz"
102+
else
103+
export RCT_USE_RN_DEP=0
104+
export RCT_USE_PREBUILT_RNCORE=0
102105
fi
103106
104107
cd packages/rn-tester
105108
106109
bundle install
107-
bundle exec pod update hermes-engine --no-repo-update
110+
if [[ "${{ steps.prebuilds.outputs.enabled }}" == "true" ]]; then
111+
bundle exec pod update hermes-engine ReactNativeDependencies React-Core-prebuilt --no-repo-update
112+
else
113+
bundle exec pod update hermes-engine --no-repo-update
114+
fi
108115
- name: Build RNTester
109116
shell: bash
110117
run: |

0 commit comments

Comments
 (0)