Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
edit

GitHub Action

Sign Android release

v1.0.1

Sign Android release

edit

Sign Android release

An action to sign an Android release APK or AAB

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Sign Android release

uses: r0adkll/sign-android-release@v1.0.1

Learn more about this action in r0adkll/sign-android-release

Choose a version

Sign Android Release Action

This action will help you sign an Android .apk or .aab (Android App Bundle) file for release.

Inputs

releaseDirectory

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

signingKeyBase64

Required: The base64 encoded signing key used to sign your app

alias

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

signedReleaseFile

The path to the signed release file from this action

ENV: SIGNED_RELEASE_FILE

This also set's an environment variable that points to the signed release file

Example usage

uses: actions/sign-android-release@v1
with:
  releaseDirectory: /app/build/outputs/apk/release
  signingKeyBase64: ${{ secrets.SIGNING_KEY }}
  alias: ${{ secrets.ALIAS }}
  keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
  keyPassword: ${{ secrets.KEY_PASSWORD }}