🐛 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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user