Skip to content

Feature: Droidcon 2024 (#305) #18

Feature: Droidcon 2024 (#305)

Feature: Droidcon 2024 (#305) #18

name: Deploy to Playstore
on:
push:
branches: [ 'releases/**' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Bump version
uses: chkfung/android-version-actions@v1.1
with:
gradlePath: app/build.gradle.kts
versionCode: ${{github.run_number}}
versionName: ${{ format('1.0.{0}', github.run_number ) }}
- name: Assemble Release Bundle
run: ./gradlew bundleRelease
- name: Sign Release
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.PLAYSTORE_SIGNING_KEY }}
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
- name: Deploy to Production
uses: r0adkll/upload-google-play@v1.1.1
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_SERVICES_JSON }}
packageName: ke.droidcon.kotlin
releaseFiles: app/build/outputs/bundle/release/app-release.aab
track: production
whatsNewDirectory: whatsnew/
status: completed