File tree Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
strategy :
9
9
matrix :
10
- java : [7, 8, 9, 10, 11 ]
10
+ java : [7, 8, 11, 17 ]
11
11
steps :
12
12
- uses : actions/checkout@v2
13
13
- name : Setup java
16
16
java-version : ${{ matrix.java }}
17
17
- name : Build with Maven
18
18
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