-
-
Notifications
You must be signed in to change notification settings - Fork 30
88 lines (74 loc) · 2.41 KB
/
mmrl-debug.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#file: noinspection SpellCheckingInspection
name: Generate APK Debug
on:
push:
branches:
- '*'
paths-ignore:
- '**.md'
pull_request:
branches:
- '*'
paths-ignore:
- '**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Setup Android SDK
uses: android-actions/setup-android@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-includes: |
caches
notifications
jdks
${{ github.workspace }}/.gradle/configuration-cache
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Build apk debug
run: ./gradlew app:assembleDefaultDebug
- name: Upload MMRL-default-arm64-v8a-debug
uses: actions/upload-artifact@v3
with:
name: MMRL-default-arm64-v8a-debug
path: app/build/outputs/apk/default/debug/*-default-arm64-v8a-debug.apk
- name: Upload MMRL-default-armeabi-v7a-debug
uses: actions/upload-artifact@v3
with:
name: MMRL-default-armeabi-v7a-debug
path: app/build/outputs/apk/default/debug/*-default-armeabi-v7a-debug.apk
- name: Upload MMRL-default-universal-debug
uses: actions/upload-artifact@v3
with:
name: MMRL-default-universal-debug
path: app/build/outputs/apk/default/debug/*-default-universal-debug.apk
- name: Upload MMRL-default-x86-debug
uses: actions/upload-artifact@v3
with:
name: MMRL-default-x86-debug
path: app/build/outputs/apk/default/debug/*-default-x86-debug.apk
- name: Upload MMRL-default-x86_64-debug
uses: actions/upload-artifact@v3
with:
name: MMRL-default-x86_64-debug
path: app/build/outputs/apk/default/debug/*-default-x86_64-debug.apk
- name: Upload MMRL-default-universal-debug
uses: actions/upload-artifact@v3
with:
name: MMRL-default-universal-debug
path: app/build/outputs/apk/default/debug/*-default-universal-debug.apk