Skip to content

Commit

Permalink
Only increment build number on upload
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhpalp committed Jul 26, 2023
1 parent e3f23bc commit da8fdb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: '**/package.json'

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand Down Expand Up @@ -163,7 +165,7 @@ jobs:
with:
build-type: "bundle"
gradle-task: "bundleRelease"
increment-build-number: true
increment-build-number: ${{ inputs.upload_to_play_store }}
package-name: ${{ secrets.KEYSTORE_ALIAS }}
keystore-content: ${{ secrets.KEYSTORE_CONTENT }}
keystore-password: ${{ secrets.KEYSTORE_PASSWORD }}
Expand Down

0 comments on commit da8fdb2

Please sign in to comment.