File tree Expand file tree Collapse file tree 1 file changed +2
-28
lines changed
Expand file tree Collapse file tree 1 file changed +2
-28
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 # old-school build and jar method. No tests run or compiled.
14- build-1_6 :
15- runs-on : ubuntu-16.04
16- strategy :
17- matrix :
18- # build for java 1.6, however don't run any tests
19- java : [ 1.6 ]
20- name : Java ${{ matrix.java }}
21- steps :
22- - uses : actions/checkout@v2
23- - name : Setup java
24- uses : actions/setup-java@v1
25- with :
26- java-version : ${{ matrix.java }}
27- - name : Compile Java ${{ matrix.java }}
28- run : |
29- mkdir -p target/classes
30- javac -d target/classes/ src/main/java/org/json/*.java
31- - name : Create java ${{ matrix.java }} JAR
32- run : |
33- jar cvf target/org.json.jar -C target/classes .
34- - name : Upload Java ${{ matrix.java }} JAR
35- uses : actions/upload-artifact@v1
36- with :
37- name : Java ${{ matrix.java }} JAR
38- path : target/org.json.jar
39-
4014 build :
4115 runs-on : ubuntu-16.04
4216 strategy :
4317 matrix :
4418 # build against supported Java LTS versions:
45- java : [ 1.7, 8, 11 ]
19+ java : [ 8, 11 ]
4620 name : Java ${{ matrix.java }}
4721 steps :
4822 - uses : actions/checkout@v2
7145 uses : actions/upload-artifact@v1
7246 with :
7347 name : Test Report ${{ matrix.java }}
74- path : target/site/
48+ path : target/site/
You can’t perform that action at this time.
0 commit comments