fix(ci): dump env at build time to diagnose ANDROID_HOME visibility
Android Build / build-apk (push) Failing after 3m23s
Build and Deploy / build-and-push (push) Failing after 40s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-14 10:37:37 -07:00
parent 4d20b70809
commit 2f3a6b9586
+8 -1
View File
@@ -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