Skip to content

Commit ab6d0c3

Browse files
authored
Create build-android-app.yml
1 parent 5be6a81 commit ab6d0c3

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build Android App CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths-ignore: [ '**.md', '**.MD' ]
7+
pull_request:
8+
branches: [ main ]
9+
paths-ignore: [ '**.md', '**.MD' ]
10+
workflow_dispatch:
11+
12+
env:
13+
CI: true
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up JDK
22+
uses: actions/setup-java@v3
23+
with:
24+
distribution: 'zulu'
25+
java-version: '17'
26+
27+
- name: Setup Gradle
28+
uses: gradle/gradle-build-action@v2
29+
with:
30+
gradle-home-cache-cleanup: true
31+
32+
- name: Make gradlew executable
33+
run: chmod +x ./gradlew
34+
35+
- name: Build Desktop App
36+
run: ./gradlew :androidApp:assembleDebug --warning-mode all --stacktrace

0 commit comments

Comments
 (0)