-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (40 loc) · 1.07 KB
/
android.yaml
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
39
40
41
42
43
44
45
46
47
on:
push:
paths:
- "android/**"
- ".github/workflows/android.yaml"
branches: [ "main" ]
pull_request:
paths:
- "android/**"
- ".github/workflows/android.yaml"
branches: [ "main" ]
name: Android
jobs:
build:
name: Debug build
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "corretto"
cache: gradle
- name: Install dependencies
run: sudo apt-get install -y tree
- name: Build app (debug) with Gradle
working-directory: android
run: ./gradlew :app:assembleDebug
- name: Build lib release and publish locally
working-directory: android
run: ./scripts/01_publish_local.sh
- name: Publish the local Maven repository
uses: actions/upload-artifact@v3
with:
name: maven-repository
path: |
android/maven/*
!android/maven/.gitignore