-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 812 Bytes
/
android.yml
File metadata and controls
32 lines (28 loc) · 812 Bytes
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
name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
- name: Build mobile with Gradle
run: ./gradlew clean && ./gradlew assembleDebug
- uses: actions/upload-artifact@v4
with:
name: mobile-debug.apk
path: mobile/build/outputs/apk/debug/mobile-debug.apk
- name: Build wear with Gradle
run: ./gradlew clean && ./gradlew :wear:assembleDebug
- uses: actions/upload-artifact@v4
with:
name: wear-debug.apk
path: wear/build/outputs/apk/debug/wear-debug.apk