Skip to content

Commit e75129b

Browse files
authored
Update maven.yml
1 parent 5a886fa commit e75129b

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/maven.yml

+6-17
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,19 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest,windows-latest, macOS-latest]
28-
java: [8, 11, 16, 17-ea]
29-
jdk: [adopt-hotspot, zulu, adopt-openj9]
28+
java: [8, 11, 17]
29+
jdk: [temurin, zulu, adopt-openj9]
3030
fail-fast: false
3131

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

3434
steps:
35-
- name: Checkout
36-
uses: actions/checkout@v2
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 }}-
46-
47-
- name: Set up JDK
48-
uses: actions/[email protected]
35+
- uses: actions/checkout@v2
36+
- uses: actions/setup-java@v2
4937
with:
5038
distribution: ${{ matrix.jdk }}
5139
java-version: ${{ matrix.java }}
40+
cache: 'maven'
5241

5342
- name: Build with Maven
54-
run: mvn install javadoc:javadoc -e -B -V -Pno-tests-if-not-on-osx
43+
run: mvn install javadoc:javadoc site -e -B -V -Pno-tests-if-not-on-osx

0 commit comments

Comments
 (0)