Skip to content

Android CI

Android CI #13

Workflow file for this run

name: Android CI
on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
- name: set up JDK 21
uses: actions/[email protected]
with:
java-version: '21'
distribution: 'temurin'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Release with Gradle
run: ./gradlew assembleRelease --no-daemon
- name: Sign app APK
uses: kevin-david/[email protected]
id: sign_app
with:
releaseDirectory: app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.KONABESS_KEYSTORE }}
alias: ${{ secrets.KONABESS_ALIAS }}
keyStorePassword: ${{ secrets.KONABESS_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KONABESS_KEYSTORE_PASSWORD_ALIAS }}
zipAlign: true
env:
BUILD_TOOLS_VERSION: "35.0.0"
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: KonaBess-Granulated.apk
path: ${{steps.sign_app.outputs.signedReleaseFile}}