File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- master
6
6
- main
7
-
8
7
jobs :
9
8
build :
10
9
name : Build
16
15
- 8
17
16
- 11
18
17
# - 17 Until Java 6 is not targeted this won't work
18
+ java-distribution :
19
+ - adopt-openj9 # IBM?
20
+ - temurin # OpenJDK
19
21
steps :
20
22
- uses : actions/checkout@v2.4.0
21
23
with :
@@ -24,15 +26,15 @@ jobs:
24
26
uses : actions/setup-java@v2
25
27
with :
26
28
java-version : ' ${{ matrix.java-version }}'
27
- distribution : ' temurin '
29
+ distribution : ' ${{ matrix.java-distribution }} '
28
30
- name : Caching
29
31
uses : actions/cache@v2
30
32
with :
31
33
path : ~/.m2
32
- key : maven-${{ hashFiles('**/pom.xml') }}-${{ matrix.java-version }}
33
- - name : Build ${{ matrix.java-version }}
34
+ key : maven-${{ hashFiles('**/pom.xml') }}-${{ matrix.java-version }}-${{ matrix.java-distribution }}
35
+ - name : Build
34
36
run : |
35
37
java -version
36
38
./mvnw clean install
37
- - name : Build Java Doc ${{ matrix.java-version }}
39
+ - name : Build Java Doc
38
40
run : ./mvnw javadoc:jar
You can’t perform that action at this time.
0 commit comments