File tree Expand file tree Collapse file tree 2 files changed +25
-28
lines changed Expand file tree Collapse file tree 2 files changed +25
-28
lines changed Original file line number Diff line number Diff line change 1
- name : Android Build
1
+ name : Android CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
2
8
3
- on : pull_request
4
9
5
10
jobs :
6
11
build :
@@ -10,14 +15,26 @@ jobs:
10
15
steps :
11
16
- uses : actions/checkout@v1
12
17
13
- - name : Set Up JDK
18
+ - name : 🧱 Set Up JDK
14
19
uses : actions/setup-java@v1
15
20
with :
16
- java-version : 1.8
17
-
21
+ java-version : 11
18
22
19
- - name : Run Tests
23
+ - name : 🧪 Run Tests
20
24
run : ./gradlew test
21
25
22
- - name : Build Project
23
- run : ./gradlew assemble
26
+ - name : 🛠 Build Project with Spotless Check
27
+ run : ./gradlew spotlessCheck assemble lintDebug --stacktrace
28
+
29
+ - name : ⏳ Build with Gradle
30
+ run : ./gradlew build
31
+
32
+ - name : 🏗 Build APK
33
+ run : bash ./gradlew assembleDebug --stacktrace
34
+
35
+ - name : 🚀 Upload APK 📱
36
+ uses : actions/upload-artifact@v2
37
+ with :
38
+ name : app
39
+ path : app/build/outputs/apk/debug/app-debug.apk
40
+ retention-days : 3
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments