File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed
Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 88 - pull_request
99
1010jobs :
11- build :
11+ build_before_java16 :
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
1515 java :
16- - ' 8'
17- - ' 11'
18- # - '17'
19- name : Java ${{ matrix.Java }} sample
16+ - ' 8' # 2030.12
17+ - ' 11' # 2026.09
18+ name : Build for Java ${{ matrix.Java }}
2019 steps :
2120 - uses : actions/checkout@v2
2221 - name : Setup java
2625 java-version : ${{ matrix.java }}
2726 - name : Build with Maven
2827 run : mvn -B package --file pom.xml
28+
29+ build_after_java16 :
30+ runs-on : ubuntu-latest
31+ strategy :
32+ matrix :
33+ java :
34+ - ' 17' # 2029.09
35+ name : Build for Java ${{ matrix.Java }}
36+ steps :
37+ - uses : actions/checkout@v2
38+ - name : Setup java
39+ uses : actions/setup-java@v2
40+ with :
41+ distribution : ' temurin'
42+ java-version : ${{ matrix.java }}
43+ - name : Build with Maven
44+ run : MAVEN_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED" mvn -B package --file pom.xml
You can’t perform that action at this time.
0 commit comments