Skip to content

Workflow file for this run

name: Android Build CI
on:
pull_request:
branches:
- master
# push:
# branches:
# - master
workflow_dispatch:
jobs:
ci:
name: build ci
runs-on: macos-12
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build Project
run: ./gradlew build
- name: Build Release AAB
run: ./gradlew bundleRelease
- name: Sign AAB
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: app/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGN_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.STORE_KEY_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
#
# - name: Deploy to Play Store
# uses: r0adkll/upload-google-play@v1
# with:
# serviceAccountJsonPlainText: ${{secrets.SERVICE_ACCOUNT}}
# packageName: com.developer.pythonapp
# releaseFiles: app/build/outputs/bundle/release/app-release.aab
# track: production
# status: completed