Skip to content

Release PlayStore

Release PlayStore #30

name: Release PlayStore
on:
workflow_dispatch:
jobs:
build:
name: Build PlayStore application
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: Restore keystore
run: |
echo "${{ secrets.RELEASE_KEYSTORE }}" > smartautoclicker.jks.asc
gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSPHRASE }}" --batch smartautoclicker.jks.asc > smartautoclicker/smartautoclicker.jks
- name: Build with Gradle
run: ./gradlew -PbillingPublicKey="${{ secrets.BILLING_PUBLIC_KEY }}" -PsigningStorePassword="${{ secrets.SIGNING_STORE_PASSWORD }}" -PsigningKeyAlias="${{ secrets.SIGNING_KEY_ALIAS }}" -PsigningKeyPassword="${{ secrets.SIGNING_KEY_PASSWORD }}" assemblePlayStoreRelease bundlePlayStoreRelease smartautoclicker:uploadCrashlyticsSymbolFilePlayStoreRelease
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: smartautoclicker-release
path: smartautoclicker/build/outputs/