File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ${{ matrix.os }}
8
8
strategy :
9
9
matrix :
10
- os : [ubuntu-latest, macOS -latest, windows-latest]
11
- java : [11, 17, 21, 22]
12
- distribution : ['zulu ']
10
+ os : [ubuntu-latest, macos -latest, windows-latest]
11
+ java : [11, 17, 21, 22-ea ]
12
+ distribution : ['temurin ']
13
13
fail-fast : false
14
14
max-parallel : 4
15
15
name : Test JDK ${{ matrix.java }}, ${{ matrix.os }}
16
16
17
17
steps :
18
18
- uses : actions/checkout@v4
19
- - name : Set JDK from jdk.java.net
20
- uses : oracle-actions/setup-java@v1
21
- with :
22
- website : jdk.java.net
23
- release : ${{ matrix.java }}
24
- if : ${{ matrix.java != '11' && matrix.java != '17' }}
25
- - name : Set up older JDK
19
+ - name : Set up JDK
26
20
uses : actions/setup-java@v3
27
21
with :
28
22
java-version : ${{ matrix.java }}
29
23
distribution : ${{ matrix.distribution }}
30
- if : ${{ matrix.java == '11' || matrix.java == '17' }}
31
24
- name : Print JDK Version
32
25
run : java -version
33
26
- name : Cache local Maven m2
You can’t perform that action at this time.
0 commit comments