89555ae07e
- 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
26 lines
766 B
YAML
26 lines
766 B
YAML
# Copia in: .gitea/workflows/maintenance.yml
|
|
# Trigger:
|
|
# - PR merged → cleanup branch sorgente
|
|
# - Ogni lunedì 08:00 → controllo dipendenze vulnerabili/obsolete
|
|
# - Manuale → workflow_dispatch
|
|
|
|
name: Maintenance
|
|
|
|
on:
|
|
pull_request:
|
|
types: [closed]
|
|
schedule:
|
|
- cron: '0 8 * * 1'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
branch-cleanup:
|
|
if: gitea.event_name == 'pull_request' && gitea.event.pull_request.merged == true
|
|
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/branch-cleanup.yml@main
|
|
secrets: inherit
|
|
|
|
dependency-check:
|
|
if: gitea.event_name == 'schedule' || gitea.event_name == 'workflow_dispatch'
|
|
uses: https://gitea.com/Punga78/shared-actions/.gitea/workflows/dependency-check.yml@main
|
|
secrets: inherit
|