GithubHelp home page GithubHelp logo

ngarafol / bundletool-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mukeshsolanki/bundletool-action

0.0 0.0 0.0 50 KB

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

License: MIT License

JavaScript 100.00%

bundletool-action's Introduction

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

base64Keystore

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

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

bundletoolVersion

Optional: The version of bundletool to use. Defaults to latest

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: 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 }}

bundletool-action's People

Contributors

mukeshsolanki avatar kyle-seongwoo-jun avatar duanebester avatar ngarafol avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.