File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414 - name : Set up JDK ${{ matrix.java }}
1515 uses : actions/setup-java@v3
1616 with :
17- java-version : 11
17+ java-version : 17
1818 distribution : ' adopt'
1919
2020 - name : Setup Gradle
Original file line number Diff line number Diff line change 1515 strategy :
1616 fail-fast : false
1717 matrix :
18- java : [ 11 ]
18+ java : [ 11, 17 ]
1919 steps :
2020 - uses : actions/checkout@v4
2121 - name : Set up JDK ${{ matrix.java }}
3131 uses : gradle/actions/wrapper-validation@v3
3232
3333 - name : Build with Gradle
34- # Javadoc 11 won't work with our Javadocs, they need 21
35- run : ./gradlew build -x javadoc
34+ # Javadoc 11 won't work with our Javadocs, they need >= 17
35+ run : ./gradlew build ${{ matrix.java == '11' && ' -x javadoc' || '' }}
3636
3737 - name : Upload test results
3838 if : always()
You can’t perform that action at this time.
0 commit comments