Skip to content
play

GitHub Action

Update Android Version Code

v0.1.3 Latest version

Update Android Version Code

play

Update Android Version Code

Fetch version codes from play store and depending on the latest used updates your gradle file with the next available integer

Installation

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

              

- name: Update Android Version Code

uses: nathanmkaya/[email protected]

Learn more about this action in nathanmkaya/android-version-code-update

Choose a version

Upload Android release to the Play Store

This action will help you update the version code of your app using the Google Play Developer API v3.

Inputs

You must provide one of either serviceAccountJson or serviceAccountJsonPlainText

serviceAccountJson

The service account json private key file to authorize the upload request

serviceAccountJsonPlainText

The service account json in plain text, provided via a secret, etc.

packageName

Required: The package name, or Application Id

Example usage

uses: nathanmkaya/[email protected]
with:
  serviceAccountJson: ${{ SERVICE_ACCOUNT_JSON }}
  packageName: com.example.MyApp