From 8fc3be6d661c074514ed3d3323406910b24b0333 Mon Sep 17 00:00:00 2001 From: Nicholas Barrow Date: Thu, 13 Jun 2024 21:27:54 -0400 Subject: [PATCH] updating README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c2a839b..2eb9f6c 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,15 @@ jobs: uses: inspire-labs-tms-tech/google-play-app-version-code-cli@latest with: version: 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 + env: + JSON: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }} + + - name: use versionCode + run: echo ${{ steps.version_code.outputs.version_code }} ``` ## Setup