File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Android CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+
11
+ test :
12
+ name : Run Unit Tests
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v1
16
+ - name : set up JDK 1.8
17
+ uses : actions/setup-java@v1
18
+ with :
19
+ java-version : 1.8
20
+ - name : Unit tests
21
+ run : bash ./gradlew test --stacktrace
22
+ build :
23
+
24
+ runs-on : ubuntu-latest
25
+
26
+ steps :
27
+ - uses : actions/checkout@v1
28
+ - name : set up JDK 1.8
29
+ uses : actions/setup-java@v1
30
+ with :
31
+ java-version : 1.8
32
+ cache : gradle
33
+
34
+ - name : Grant execute permission for gradlew
35
+ run : chmod +x gradlew
36
+ - name : Build pluginbasicutils
37
+ run : bash ./gradlew assemble --stacktrace
38
+ - name : Upload debug pluginbasicutils
39
+ uses : actions/upload-artifact@v1
40
+ with :
41
+ name : pluginbasicutils-debug
42
+ path : pluginbasicutils/build/outputs/aar/pluginbasicutils-debug.aar
43
+ - name : Upload release pluginbasicutils
44
+ uses : actions/upload-artifact@v1
45
+ with :
46
+ name : pluginbasicutils-release
47
+ path : pluginbasicutils/build/outputs/aar/pluginbasicutils-release.aar
You can’t perform that action at this time.
0 commit comments