Release build
Source: actions/android-build-googlePlay/action.yml
Builds and uploads app to Google Play.
Usage
- uses: futuredapp/.github/.github/actions/android-build-googlePlay@2.2.0
with:
bundle_gradle_task: '...'
version_name: '...'
signing_keystore_password: '...'
signing_key_alias: '...'
signing_key_password: '...'
google_play_application_id: '...'
google_play_whatsnew_dir: '...'
google_play_publish_service_account: '...'
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
bundle_gradle_task |
string |
Yes | — | A Gradle task for assembling app bundle, for example bundleRelease |
version_name |
string |
Yes | — | Version name. Example: '1.0.0' |
signing_keystore_password |
string |
Yes | — | Password to provided keystore |
signing_key_alias |
string |
Yes | — | Alias of the signing key in the provided keystore |
signing_key_password |
string |
Yes | — | Password to the key in the provided keystore |
google_play_application_id |
string |
Yes | — | Google Play applicationId |
google_play_whatsnew_dir |
string |
Yes | — | Path to directory with changelog files according to documentation in https://github.com/r0adkll/upload-google-play |
google_play_publish_service_account |
string |
Yes | — | JSON key of service account with permissions to upload build to Google Play |
changes_not_sent_for_review |
string |
No | False |
A changesNotSentForReview Google Play flag. Enable when last google review failed, disable when last review was successful. |
build_number_offset |
string |
No | 0 |
Build number offset. This number will be added to GITHUB_RUN_NUMBER and can be used to make corrections to build numbers. |
kmp_flavor |
string |
No | prod |
KMP Build flavor. This is optional and only required by KMP projects and can be ignored on pure Android projects |
secret_properties_file |
string |
No | secrets.properties |
A path to file that will be populated with contents of 'SECRET_PROPERTIES' secret. This file can be picked up by Secrets Gradle plugin to embed secrets into BuildConfig. |
secret_properties |
string |
No | — | Custom string that contains key-value properties as secrets. Contents of this secret will be placed into file specified by 'SECRET_PROPERTIES_FILE' input. |