fix(ci): dump env at build time to diagnose ANDROID_HOME visibility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -116,7 +116,14 @@ jobs:
|
||||
run: cargo install cargo-apk --locked
|
||||
|
||||
- name: Build debug APK
|
||||
run: cargo apk build --package solitaire_app --lib
|
||||
run: |
|
||||
echo "=== env at build time ==="
|
||||
echo "ANDROID_HOME=$ANDROID_HOME"
|
||||
echo "ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT"
|
||||
printenv | grep -i android || true
|
||||
ls "$ANDROID_HOME/platforms/" || echo "platforms dir missing at build time"
|
||||
echo "========================="
|
||||
cargo apk build --package solitaire_app --lib
|
||||
|
||||
# ── Artifact ───────────────────────────────────────────────────────
|
||||
- name: Upload APK
|
||||
|
||||
Reference in New Issue
Block a user