Skip to content

Commit 4d9ce84

Browse files
authored
Create build-debug.yml
1 parent d4133b5 commit 4d9ce84

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build-debug.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build Debug APK
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
pull_request:
7+
branches: ["**"]
8+
9+
jobs:
10+
build-debug:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Set up JDK 17
18+
uses: actions/setup-java@v3
19+
with:
20+
distribution: 'temurin'
21+
java-version: 17
22+
23+
- name: Grant permission to Gradle
24+
run: chmod +x ./gradlew
25+
26+
- name: Build Debug APK
27+
run: ./gradlew assembleDebug
28+
29+
- name: Upload Debug APK
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: app-debug-apk
33+
path: app/build/outputs/apk/debug/*.apk

0 commit comments

Comments
 (0)