Commit Graph

4 Commits

Author SHA1 Message Date
LucaZanni bada0f51fc 🐛 fix(ci): correggi upload artifact APK e aggiungi build reports
- aggiungi fallback `|| 'debug'` nel path upload APK per evitare doppio slash quando build-type è vuoto
- aggiungi step upload Gradle build reports (problems-report.html) con if-no-files-found: ignore
- aggiorna default java-version a 21

Fixes #6 @30m
2026-04-03 17:05:34 +02:00
LucaZanni 2b28d8b721 🐛 fix(ci): downgrade upload-artifact da v4 a v3 per compatibilità Gitea
- upload-artifact@v4 usa @actions/artifact v2.0.0+ che richiede API GitHub.com
- Gitea/GHES non supporta questa versione, causando errore GHESNotSupportedError

Fixes #4 @25m
2026-04-03 13:26:23 +02:00
LucaZanni ea0f8638f7 🐛 fix(ci): aggiungi step cap add android prima di sync
- Aggiunto step idempotente `npx cap add android || true` prima di `npx cap sync android`
- Risolve il fallimento quando la directory android/ non è nel repository del consumer
- Il comando è sicuro: se android/ esiste già, emette solo un warning

refs #0 @25m
2026-04-03 11:02:38 +02:00
LucaZanni 89555ae07e 🎉 feat(ci): aggiungi pipeline Capacitor Android riutilizzabile
- Nuovo workflow capacitor-android.yml con build debug e release
- Input configurabili: runner, node-version, java-version, build-type, output-format
- Supporto APK (sideload/test) e AAB (Play Store) via output-format
- Firma release tramite keystore in base64 (secret)
- Setup google-services.json opzionale per Firebase
- Cache npm + Gradle per performance
- Upload artifact automatico (retention 14 giorni)
- Esempi consumer: ci.yml, release.yml, maintenance.yml
2026-03-26 11:22:35 +01:00