Skip to content

Commit

Permalink
updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
barrownicholas committed Jun 14, 2024
1 parent d8c31e8 commit 305a706
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ jobs:
- name: Setup Google App Version CLI Tool
uses: inspire-labs-tms-tech/google-play-app-version-code-cli@latest
with:
version: latest

version: latest # CLI version to use (defaults to `latest`
- name: get next version code
id: version_code
run: echo "version_code=$(google-app-version next -f $JSON -p com.inspiretmstech.mobile)" >> $GITHUB_OUTPUT
run: NEXT="$(google-app-version -p com.inspiretmstech.mobile -f "$JSON" next)" && echo "version_code=$NEXT" >> $GITHUB_OUTPUT
env:
JSON: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }}
JSON: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }} # rename with your secret, where the secret-value is the copy-pasted output of your service account's credentials.json file

- name: use versionCode
run: echo ${{ steps.version_code.outputs.version_code }}
- name: use next versionCode
run: echo "next version code - ${{ steps.version_code.outputs.version_code }}"
```
## Setup
Expand Down

0 comments on commit 305a706

Please sign in to comment.