Updated on 2024-04-18 GMT+08:00

Using YAML to Sign Android APK

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
version: 2.0 # The value must be 2.0.
steps:
  BUILD:
    - android_sign:
            inputs:
               file_path: build/bin/*.apk
                   keystore_file: androidapk.jks
                   keystore_password: xxxxxx
                   alias: keyalias
                   key_password: xxxxxx
                   apksigner_commond: --verbose

Parameter

Type

Description

Mandatory

Default Value

file_path

string

APK directory

Yes

None

keystore_file

string

Keystore file name

Yes

None

keystore_password

string

Keystore file password

No

None

alias

string

Alias

Yes

None

key_password

string

Password

No

None

apksigner_commond

string

apksigner CLI

Yes

None