This action looks for the next valid version number to upload a new app or bundle in the play store console
Required the path of the service-account.json
file.
Required The Application Id of the app.
The next valid version number to upload a new apk or bundle
- uses: mmachado53/[email protected]
id: nexVersionCode
with:
serviceAccountJsonFile: ./service-account.json
packageName: com.your.packageName
- name: building service_account.json
run: echo '${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}' > service_account.json
- uses: mmachado53/[email protected]
id: nexVersionCode
with:
serviceAccountJsonFile: service-account.json
packageName: com.your.packageName
- name: building service_account.json
run: echo '${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}' > service_account.json
- uses: mmachado53/[email protected]
id: nex_version_code
with:
serviceAccountJsonFile: service-account.json
packageName: com.your.packageName
- name: Putting version code into app/build.gradle
uses: chkfung/[email protected]
with:
gradlePath: app/build.gradle
versionCode: ${{steps.nex_version_code.outputs.nexVersionCode}}