File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
.github/actions/build-hermesc-apple Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,23 @@ runs:
1717 with :
1818 path : ./packages/react-native/sdks/hermes/build_host_hermesc
1919 key : v2-hermesc-apple-${{ inputs.hermes-version }}-${{ inputs.react-native-version }}
20+ - name : BEFORE - Check Cmake version
21+ shell : bash
22+ run : |
23+ cmake --version
2024 - name : Downgrade CMake
2125 shell : bash
22- uses : jwlawson/actions-setup-cmake@v2
23- with :
24- cmake-version : ' 3.28.3'
25- - name : Use cmake
26+ run : |
27+ # Uninstall any existing CMake version
28+ brew uninstall --ignore-dependencies cmake || true
29+ # Install specific CMake version (e.g., 3.21.4)
30+ 31+ # Add the specific CMake version to PATH
32+ echo 'export PATH="/usr/local/opt/[email protected] /bin:$PATH"' >> $GITHUB_ENV 33+ - name : AFTER - Check Cmake version
2634 shell : bash
27- run : cmake --version
35+ run : |
36+ cmake --version
2837 - name : Build HermesC Apple
2938 shell : bash
3039 run : |
You can’t perform that action at this time.
0 commit comments