fix(ci): add SDK verification step to diagnose platforms-not-found
Android Build / build-apk (push) Failing after 3m28s
Build and Deploy / build-and-push (push) Successful in 39s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-14 11:22:08 -07:00
parent 1144a96757
commit d0ab7ed97b
+9
View File
@@ -99,6 +99,15 @@ jobs:
restore-keys: android-target-${{ hashFiles('**/Cargo.lock') }}-
# ── Build ──────────────────────────────────────────────────────────
- name: Verify SDK structure
run: |
echo "=== /opt/android-sdk/ ==="
ls ${{ env.ANDROID_SDK }}/ || echo "MISSING"
echo "=== platforms/ ==="
ls ${{ env.ANDROID_SDK }}/platforms/ || echo "MISSING"
echo "=== android-34/ ==="
ls ${{ env.ANDROID_SDK }}/platforms/android-34/ 2>/dev/null | head -3 || echo "MISSING"
- name: Install cargo-apk
if: steps.apk-tool-cache.outputs.cache-hit != 'true'
run: cargo install cargo-apk --locked