forked from libxzr/KonaBess
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 1.1 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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}}