File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 strategy :
99 matrix :
10- java : [7, 8, 9, 10, 11 ]
10+ java : [7, 8, 11, 17 ]
1111 steps :
1212 - uses : actions/checkout@v2
1313 - name : Setup java
1616 java-version : ${{ matrix.java }}
1717 - name : Build with Maven
1818 run : |
19- mvn clean package -DskipTests
20- mvn test
21-
22- build_jdk_ge_12 :
23- runs-on : ubuntu-latest
24- strategy :
25- matrix :
26- java : [12, 13, 14, 15]
27- steps :
28- - uses : actions/checkout@v2
29- - name : Set up JDK 1.8
30- uses : actions/setup-java@v1
31- with :
32- java-version : 8
33- - name : save java8 home
34- run : |
35- export JAVA8_HOME=$JAVA_HOME && echo $JAVA8_HOME
36- echo "export JAVA8_HOME=$JAVA_HOME" > ~/.testenv
37-
38- - name : Setup java
39- uses : actions/setup-java@v1
40- with :
41- java-version : ${{ matrix.java }}
42- - name : Build with Maven
43- run : |
44- source ~/.testenv
45- mvn -Dmaven.compiler.fork=true -Dmaven.compiler.executable=$JAVA8_HOME/bin/javac clean package -DskipTests
46- mvn -Dmaven.compiler.fork=true -Dmaven.compiler.executable=$JAVA8_HOME/bin/javac test
19+ mvn clean package -DskipTests --batch-mode
20+ mvn test --batch-mode
You can’t perform that action at this time.
0 commit comments