跳到主要内容

Sign Android App with YAML

List of YAML parameters and examples for the "Sign Android App" action

YAML parameters for Sign Android App

名称类型描述
action
必填
String操作名称
type
必填
StringThe type of the action. Should be set to ANDROID_SIGN.
local_path
必填
StringThe path to the generated .apk file.
application_name
必填
StringThe name of the signed APK file.
key_path
必填
StringThe path to the authorization key file.
build_tool_version
必填
StringThe version of the Android Build Tools.
keystore_password
必填
StringThe keystore password.
output_dirStringThe directory in which the signed APK will be stored.
key_aliasStringThe key alias name.
key_passwordStringThe key password.

YAML example for Sign Android App

actions:
- action: "Sign Android App"
type: "ANDROID_SIGN"
trigger_time: "ON_EVERY_EXECUTION"
local_path: "my-app-unsigned-aligned.apk"
output_dir: "out"
application_name: "my-app-release.apk"
key_path: "my-release-key.jks"
key_password: "${key_password}"
keystore_password: "${keystore_password}"
build_tool_version: "26.0.2"