File tree 1 file changed +51
-0
lines changed
1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Android application builder'
2
+
3
+ on : push
4
+
5
+ env :
6
+ ANDROID_API : 31
7
+
8
+ jobs :
9
+
10
+ tests :
11
+ runs-on : ubuntu-latest
12
+ container :
13
+ image : javavirys/android:31
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Run tests
17
+ run : ./gradlew test
18
+
19
+ lint :
20
+ runs-on : ubuntu-latest
21
+ container :
22
+ image : javavirys/android:31
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+ - name : Run lint
26
+ run : ./gradlew lint
27
+
28
+ - name : Archive artifacts
29
+ uses : actions/upload-artifact@v3
30
+ with :
31
+ name : lint
32
+ path :
33
+ sample/build/reports
34
+
35
+ buildDebugApks :
36
+ needs : [ lint, tests ]
37
+ runs-on : ubuntu-latest
38
+ container :
39
+ image : javavirys/android:31
40
+ steps :
41
+ - uses : actions/checkout@v3
42
+ - name : Build apks
43
+ run : ./gradlew assembleDebug
44
+
45
+ - name : Archive artifacts
46
+ uses : actions/upload-artifact@v3
47
+ with :
48
+ name : Apks
49
+ path :
50
+ sample/build/outputs/apk
51
+ retention-days : 30
You can’t perform that action at this time.
0 commit comments