Publish Android App with YAML

YAML parameters for Publish Android App

NameTypeDescription
name
Required
StringThe name of the action.
trigger_time
Required
StringSpecifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
type
Required
StringThe type of the action. Should be set to ANDROID_PLAY.
application_id
Required
StringThe ID of the Adroid Application.
track
Required
StringThe track type to read or modify. Can be one of production, alpha, beta, rollout, internal.
key_path
Required
StringThe path to the private key in JSON format with permissions to Google Play Developer Console.
apk_files
Required
APKs[]The list of sets of paths to the APKs.
user_fractionFloatPortion of the users who should get the staged rollout version of the APK (range 0.0 - 1.0). Required if track is set to rollout.
mapping_pathStringThe path to the deobfuscated file of the specified APK.
changes_pathStringThe path to the changelog file.
supersede_versionsBooleanCheck and disable superseded versions in other tracks (if any).
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for Publish Android App

actions:
- action: "Publish Android App"
type: "ANDROID_PLAY"
trigger_time: "ON_EVERY_EXECUTION"
application_id: "com.mycompany.mylovelyapp"
trigger_condition: "ALWAYS"
track: "rollout"
user_fraction: 0.05
key_path: "my-release-key.jks"
mapping_path: ""
changes_path: "changes.xml"
supersede_versions: true
apk_files:
- apk_path: "my-app-release9.apk"
- main_expansion_path: "ss"
- patch_expansion_path: ""