This action will help you convert your aab to signed apk file.
Required: The relative path in your project where your Android bundle file will be located
Required: The base64 encoded signing key used to sign your apk
This action will directly decode this input to a file to sign your release with. You can prepare your key by running this command on linux systems.
openssl base64 < some_signing_key.jks | tr -d '\n' | tee some_signing_key.jks.base64.txt
Then copy the contents of the .txt
file to your GH secrets
Required: The alias of your signing key
Required: The password to your signing keystore
Required: The private key password for your signing keystore
Optional: The version of bundletool to use. Defaults to latest
Output variables are set both locally and in environment variables.
The path to the single release apk file that have been signed with this action.
The output variable signedReleaseFile
can be used in a release action.
steps:
- name: Convert aab to apk
id: convert_aab
uses: mukeshsolanki/[email protected]
with:
aabFile: app/build/outputs/bundle/release/app-release.aab
base64Keystore: ${{ secrets.BASE64_KEY }}
keystorePassword: ${{ secrets.PASSWORD }}
keystoreAlias: ${{ secrets.ALIAS }}
keyPassword: ${{ secrets.PASSWORD }}
bundletoolVersion: '1.9.0'
- uses: actions/upload-artifact@v3
with:
name: release-apk
path: ${{ steps.convert_aab.outputs.apkPath }}