Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.79 KB

README.md

File metadata and controls

60 lines (40 loc) · 1.79 KB

BundleTool Action

Codacy Badge tag badge license badge

Thumbnail

This action will help you convert your aab to signed apk file.

Inputs

aabFile

Required: The relative path in your project where your Android bundle file will be located

KeystoreFile

Required: The signing key used to sign your apk

keystoreAlias

Required: The alias of your signing key

keystorePassword

Required: The password to your signing keystore

keyPassword

Required: The private key password for your signing keystore

Outputs

Output variables are set both locally and in environment variables.

apkPath

The path to the single release apk file that have been signed with this action.

Example usage

Single APK

The output variable signedReleaseFile can be used in a release action.

steps:
  - name: Convert aab to apk
    id: convert_aab
    uses: sipgate/[email protected]
    with:
      aabFile: app/build/outputs/bundle/release/app-release.aab
      keystoreFile: ${{ KEYSTORE_FILE }}
      keystorePassword: ${{ secrets.PASSWORD }}
      keystoreAlias: ${{ secrets.ALIAS }}
      keyPassword: ${{ secrets.PASSWORD }}

  - uses: actions/upload-artifact@v3
    with:
      name: release-apk
      path: ${{ steps.convert_aab.outputs.apkPath }}