Skip to content

Commit 0feba3e

Browse files
authored
(doc) add Java 17 to test
1 parent f007511 commit 0feba3e

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,22 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest,windows-latest, macOS-latest]
28-
java: [8, 11]
29-
jdk: [adopt, zulu]
28+
java: [8, 11, 17]
29+
jdk: [temurin]
3030
fail-fast: false
3131

3232
runs-on: ${{ matrix.os }}
3333

3434
steps:
3535
- name: Checkout
36-
uses: actions/[email protected]
37-
38-
- name: Set up cache for ~./m2/repository
39-
uses: actions/[email protected]
40-
with:
41-
path: ~/.m2/repository
42-
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
43-
restore-keys: |
44-
maven-${{ matrix.os }}-java${{ matrix.java }}-
45-
maven-${{ matrix.os }}-
36+
uses: actions/checkout@v2
4637

4738
- name: Set up JDK
4839
uses: actions/setup-java@v2
4940
with:
5041
distribution: ${{ matrix.jdk }}
5142
java-version: ${{ matrix.java }}
43+
cache: 'maven'
5244

5345
- name: Build with Maven
5446
run: mvn install javadoc:javadoc -e -B -V -Pno-tests-if-not-on-osx

0 commit comments

Comments
 (0)