diff --git a/.github/workflows/deploy-to-playstore.yml b/.github/workflows/deploy-to-playstore.yml index 020c04b2..2d591621 100644 --- a/.github/workflows/deploy-to-playstore.yml +++ b/.github/workflows/deploy-to-playstore.yml @@ -16,12 +16,20 @@ jobs: distribution: 'zulu' java-version: '17' + - name: Combine strings + uses: michpohl/action-concatenate-strings@v1 + with: + first: 1.0 + second: ${{ github.run_number }} + separator: '.' + output-var-name: 'VERSION_NAME_STRING' + - name: Bump version uses: chkfung/android-version-actions@v1.1 with: gradlePath: app/build.gradle.kts versionCode: ${{github.run_number}} - versionName: 1.0.1 + versionName: $VERSION_NAME_STRING - name: Assemble Release Bundle run: ./gradlew bundleRelease