🎉 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
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user