-
-
Notifications
You must be signed in to change notification settings - Fork 2
49 lines (40 loc) · 964 Bytes
/
android_build.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
39
40
41
42
43
44
45
46
47
48
49
name: Android Build
concurrency:
group: android_build_${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- "**.md"
- "docs/**"
push:
paths-ignore:
- "**.md"
- "docs/**"
jobs:
build_apk:
name: Build APK
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.2
- name: Build the Artifact
run: |
cd android
gradle build --debug
- name: Upload the Artifact
uses: actions/upload-artifact@v3
with:
name: javet-shell-android
path: android/app/build/outputs/apk/release/*.apk