From ea0f8638f7c3a8085c079f9a032caab3933bf91f Mon Sep 17 00:00:00 2001 From: LucaZanni Date: Fri, 3 Apr 2026 11:02:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ci):=20aggiungi=20step=20`ca?= =?UTF-8?q?p=20add=20android`=20prima=20di=20sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- .gitea/workflows/capacitor-android.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/capacitor-android.yml b/.gitea/workflows/capacitor-android.yml index 990ec14..7ba856f 100644 --- a/.gitea/workflows/capacitor-android.yml +++ b/.gitea/workflows/capacitor-android.yml @@ -84,6 +84,9 @@ jobs: - name: Build web app run: npm run build + - name: Add Android platform + run: npx cap add android || true + - name: Sync Capacitor run: npx cap sync android