Build Android
flightstack/build-android@1.0.0 Step Verified Build a signed Android AAB (and APK) using a Play upload key.
Add it to a pipeline
jobs:
- id: build-android
uses: flightstack/build-android@1.0.0
inputs:
keystoreCredential: <credentialRef> Or drag it onto the canvas from the step palette in the visual editor. Pin an exact version for production pipelines.
Inputs
-
keystoreCredentialcredentialRef required - Upload keystore (keystore file + alias + passwords).
-
firebaseConfigcredentialRef - Firebase config to place before building. Leave empty to use the repository's only Firebase config, if it has one.
-
buildNumberinteger - Override the build number (default — read from pubspec.yaml).
-
flavorselection - Build flavor declared in build.gradle (e.g. production, staging).
-
targetstring - Dart entry file (passed as
--target=). Leave empty forlib/main.dart. -
workingDirectorystring default. - Project sub-directory inside the repo.
-
buildApkboolean defaulttrue - Whether to also produce a release APK alongside the AAB.
Outputs
bundlePathartifact- Path to the signed .aab.
apkPathartifact- Path to the signed .apk (empty if buildApk was false).