File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,21 @@ jobs:
2929 strategy :
3030 matrix :
3131 os : [ubuntu-latest, windows-latest]
32+ java : [
33+ { 'version': '11' },
34+ { 'version': '17' }
35+ ]
3236 steps :
3337 - name : Prepare git
3438 run : git config --global core.autocrlf false
3539 if : startsWith(matrix.os, 'windows')
3640
3741 - uses : actions/checkout@v3
38- - name : Set up JDK 11
42+ - name : Set up JDK ${{matrix.java.version}}
3943 uses : actions/setup-java@v3
4044 with :
4145 distribution : temurin
42- java-version : 11
46+ java-version : ${{matrix.java.version}}
4347 cache : ' maven'
4448
4549 - name : Build with Maven
@@ -51,17 +55,21 @@ jobs:
5155 strategy :
5256 matrix :
5357 os : [ubuntu-latest, windows-latest]
58+ java : [
59+ { 'version': '11' },
60+ { 'version': '17' }
61+ ]
5462 steps :
5563 - name : Prepare git
5664 run : git config --global core.autocrlf false
5765 if : startsWith(matrix.os, 'windows')
5866
5967 - uses : actions/checkout@v3
60- - name : Set up JDK 11
68+ - name : Set up JDK ${{matrix.java.version}}
6169 uses : actions/setup-java@v3
6270 with :
6371 distribution : temurin
64- java-version : 11
72+ java-version : ${{matrix.java.version}}
6573 cache : ' maven'
6674
6775 - name : Build with Maven
You can’t perform that action at this time.
0 commit comments