Skip to content

Commit 25b7c19

Browse files
feat: Add GitHub workflow to build debug APK
This workflow allows for the manual creation of a debug APK. It can be triggered from the Actions tab in the GitHub repository. The workflow builds the debug APK and uploads it as a build artifact named 'app-debug', which can then be downloaded by users.
1 parent 9bc8139 commit 25b7c19

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Build debug APK"
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- uses: actions/setup-java@v4
13+
with:
14+
distribution: 'temurin'
15+
java-version: '21'
16+
cache: 'gradle'
17+
18+
- name: "Set up Android SDK"
19+
uses: android-actions/setup-android@v3
20+
21+
- name: "Build debug APK"
22+
run: ./gradlew assembleDebug --stacktrace
23+
24+
- name: "Upload APK"
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: app-debug
28+
path: app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)