-
-
Notifications
You must be signed in to change notification settings - Fork 353
38 lines (31 loc) · 862 Bytes
/
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
name: Android CI
on: [push]
jobs:
build-debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: Repo Visualizer
uses: githubocto/repo-visualizer@0.8.2
- name: build app apk
run: ./gradlew :app:assembleChargeDebug;
- name: build imitate apk
run: ./gradlew :imitate:assembleDebug;
build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: build app apk
run: ./gradlew :app:assembleChargeRelease;
- name: build imitate apk
run: ./gradlew :imitate:assembleRelease;