Skip to content

Commit 2349524

Browse files
committed
fix: hermes path for ci
1 parent f07f223 commit 2349524

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/android-build-custom-dev-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: npm ci
3131

3232
- name: Make Hermes compiler executable (Linux)
33-
run: chmod +x node_modules/react-native/node_modules/hermes-compiler/hermesc/linux64-bin/hermesc
33+
run: chmod +x ./node_modules/react-native/node_modules/hermes-compiler/hermesc/linux64-bin/hermesc
3434

3535
- name: Add NDK 27.3.13750724
3636
run: echo "y" | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;27.3.13750724"

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import org.gradle.internal.os.OperatingSystem
5050
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
5151
// hermesFlags = ["-O", "-output-source-map"]
5252

53-
def hermescDir = file("../node_modules/react-native/node_modules/hermes-compiler/hermesc")
53+
def hermescDir = file("${rootDir}/../node_modules/react-native/node_modules/hermes-compiler/hermesc")
5454
def os = OperatingSystem.current()
5555

5656
if (os.isMacOsX()) {

0 commit comments

Comments
 (0)