ci: 修复hermesEnabled属性未定义问题
Some checks failed
Frontend CI / ota-android (push) Successful in 12m39s
Frontend CI / build-android-apk (push) Failing after 19m35s
Frontend CI / build-and-push-web (push) Successful in 3m37s

This commit is contained in:
lafay
2026-03-17 19:25:56 +08:00
parent b4e4f33e3b
commit 4f4c190c3a

View File

@@ -136,7 +136,12 @@ jobs:
org.gradle.jvmargs=-Xmx3g -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -XX:MaxMetaspaceSize=256m
android.enableJetifier=false
android.useAndroidX=true
hermesEnabled=true
EOF
# Fix hermesEnabled in build.gradle
sed -i 's/def hermesEnabled = findProperty("hermesEnabled")/def hermesEnabled = findProperty("hermesEnabled") ?: "true"/' app/build.gradle || true
grep -n "hermesEnabled" app/build.gradle || echo "hermesEnabled not found in build.gradle"
- name: Build Android release APK
run: |