roberteggl/AAB to APK with Bundletool
Convert Android App Bundles (.aab) to APKs using Google bundletool
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| aab-file | Path to the Android App Bundle (.aab) file | no | — |
| apks-file | Path to an existing .apks archive (required for extract-apks) | no | — |
| command | Bundletool command to run (build-apks | extract-apks) | no | build-apks |
| mode | Bundletool build mode (universal | default | system) | no | universal |
| output | Output path for the .apks archive or extracted APK | no | — |
| output-dir | Directory for extracted APK files | no | — |
| bundletool-version | Bundletool version tag to use (e.g. 1.18.3) or latest | no | latest |
| bundletool-url | Override URL for downloading the bundletool JAR | no | — |
| bundletool-sha256 | Expected SHA-256 checksum of the bundletool JAR | no | — |
| cache | Cache the downloaded bundletool JAR with the Actions tool cache | no | true |
| java-bin | Path to the Java executable | no | java |
| keystore | Path to an existing keystore file used for signing | no | — |
| keystore-base64 | Base64-encoded keystore contents (alternative to keystore) | no | — |
| keystore-password | Keystore password | no | — |
| key-alias | Keystore key alias | no | — |
| key-password | Private key password (defaults to keystore-password when omitted) | no | — |
| sign | Whether to sign APKs when keystore credentials are provided | no | true |
| device-spec | Path to a device specification JSON file | no | — |
| extract-universal-apk | Extract universal.apk from the .apks archive when mode is universal | no | true |
| keep-apks | Keep the generated .apks archive after extraction | no | true |
| extra-args | Additional whitespace-separated arguments passed to bundletool | no | — |
| working-directory | Working directory for resolving relative paths | no | . |
| dry-run | Validate inputs and log the planned actions without executing them | no | false |
| verbose | Enable verbose logging | no | false |
Outputs
| name | description |
|---|---|
| apks-path | Path to the generated .apks archive (when kept) |
| apk-path | Path to the extracted universal APK (when extracted) |
| output-dir | Directory containing extracted APK files |
| bundletool-version | Resolved bundletool version that was used |
| bundletool-path | Path to the bundletool JAR on the runner |