Files
shared-actions/examples/capacitor/ci.yml
T
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

25 lines
641 B
YAML

# Copia in: .gitea/workflows/ci.yml
# Trigger: push su qualsiasi branch → quality gates + build debug Android
#
# Il debug APK viene uplodato come artifact scaricabile dalla PR.
# Non richiede firma: usato per test interni su device fisico o emulatore.
name: CI
on:
push:
branches-ignore:
- main
jobs:
quality-gates:
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/quality-gates.yml@main
secrets: inherit
android-debug:
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/capacitor-android.yml@main
secrets: inherit
with:
build-type: debug
output-format: apk