github-actions-android
Installation
SKILL.md
GitHub Actions — Android (Play)
CI genérico: github-actions. Aqui: assinatura, AAB e loja. App: android-development. Testes JVM: android-unit-testing. IAP (billing) ≠ upload: play-billing.
Detecte nativo (gradlew) vs Expo/RN (eas.json). Não misture eas build e bundleRelease no mesmo job sem necessidade.
Regras inegociáveis
- Play recebe AAB (
bundleRelease), não APK — APK só sideload/Firebase App Distribution. - Keystore / passwords só em GitHub Secrets. Nunca
.jks/.keystoreno git. - Play App Signing ligado: o CI usa a upload key.
- Service account da Play (JSON) em secret, least privilege (Release to testing / production).
versionCodedeterminístico (arquivo versionado ougithub.run_numberdocumentado — uma fonte).- Track
internal(oualpha) no CI automático;productioncomenvironment: production+ reviewer.