Bump org.jetbrains.kotlinx:kotlinx-serialization-json (#259) #374
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Google Play | |
on: | |
push: | |
branches: [main] | |
env: | |
JAVA_VERSION: 21 | |
JAVA_DIST: "zulu" | |
jobs: | |
Deploy-To-Google-Play: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Is required for version bump | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ env.JAVA_DIST }} | |
java-version: ${{ env.JAVA_VERSION }} | |
cache: 'gradle' | |
- name: Version bump setup | |
run: echo "RELEASE_VERSION=$(git rev-list --count origin/main)" >> $GITHUB_ENV | |
- name: Version bump | |
uses: chkfung/android-version-actions@v1.1 | |
with: | |
gradlePath: app/build.gradle.kts | |
versionCode: ${{ env.RELEASE_VERSION }} | |
- name: Build release bundle | |
run: ./gradlew bundleRelease | |
- name: Sign release bundle | |
uses: r0adkll/sign-android-release@v1 | |
with: | |
releaseDirectory: app/build/outputs/bundle/release | |
signingKeyBase64: ${{ secrets.KEYSTORE }} | |
alias: ${{ secrets.KEYSTORE_ALIAS }} | |
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }} | |
keyPassword: ${{ secrets.KEYSTORE_PASSWORD }} | |
# - name: Store apk artifact | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: artifacts | |
# path: | | |
# app/build/outputs/bundle/release/app-release.aab | |
- name: Setup authorization with GooglePlay Store | |
run: echo '${{ secrets.GOOGLE_SERVICES_API }}' > service_account.json | |
- name: Deploy | |
uses: r0adkll/upload-google-play@v1.0.15 | |
with: | |
serviceAccountJson: service_account.json | |
packageName: com.hulkdx.findprofessional | |
releaseFiles: app/build/outputs/bundle/release/app-release.aab | |
track: internal | |
whatsNewDirectory: .github/whatsNewDirectory |