File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,11 @@ jobs:
123123 with :
124124 java-version : " 17"
125125 distribution : " temurin"
126+ # Install CMake 3.22.1 since 4.x may have compatibility issues with Hermes build system
127+ - name : Install compatible CMake version
128+ uses : jwlawson/actions-setup-cmake@v2
129+ with :
130+ cmake-version : " 3.22.1"
126131 - name : Debug environment before build
127132 run : |
128133 echo "=== Xcode and build tools ==="
@@ -137,11 +142,6 @@ jobs:
137142 echo "CMAKE_BINARY=$CMAKE_BINARY"
138143 echo "=== CMake version ==="
139144 cmake --version || echo "cmake command failed"
140- - name : Set required environment variables for Hermes build
141- run : |
142- # React Native's Hermes build script expects CMAKE_BINARY to be set
143- # Without it, the PATH preservation in env -i fails
144- echo "CMAKE_BINARY=$(which cmake)" >> $GITHUB_ENV
145145 - run : npm ci
146146 - run : npm run bootstrap
147147 env :
You can’t perform that action at this time.
0 commit comments