ci: 修复Android APK构建前置步骤
Some checks failed
Frontend CI / ota-android (push) Successful in 10m55s
Frontend CI / build-android-apk (push) Failing after 22m57s
Frontend CI / build-and-push-web (push) Successful in 3m2s

在 CI 的 APK 构建任务中增加 expo prebuild 以生成 android 工程,避免仓库未包含原生目录时构建失败。

Made-with: Cursor
This commit is contained in:
2026-03-17 15:43:46 +08:00
parent f328b2fd31
commit 4ec56de988

View File

@@ -118,6 +118,9 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Generate Android native project
run: npx expo prebuild --platform android --non-interactive
- name: Build Android release APK
run: |
cd android