Skip to content

Commit fda2a84

Browse files
committed
Updated CI setup
1 parent 0cd2070 commit fda2a84

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
strategy:
2626
matrix:
2727
os: [ubuntu-latest, windows-latest, macOS-latest]
28-
java: [8, 11, 14, 15-ea]
28+
java: [8, 11, 17-ea]
29+
jdk: [temurin, zulu]
2930
fail-fast: false
3031

3132
runs-on: ${{ matrix.os }}
@@ -34,19 +35,12 @@ jobs:
3435
- name: Checkout
3536
uses: actions/checkout@v2
3637

37-
- name: Set up cache for ~./m2/repository
38-
uses: actions/cache@v1
39-
with:
40-
path: ~/.m2/repository
41-
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
42-
restore-keys: |
43-
maven-${{ matrix.os }}-java${{ matrix.java }}-
44-
maven-${{ matrix.os }}-
45-
4638
- name: Set up JDK
47-
uses: actions/setup-java@v1
39+
uses: actions/setup-java@v2
4840
with:
41+
cache: 'maven'
42+
distribution: ${{ matrix.jdk }}
4943
java-version: ${{ matrix.java }}
5044

5145
- name: Build with Maven
52-
run: mvn verify -e -B -V -P run-its
46+
run: mvn verify -e -B -V -P run-its

0 commit comments

Comments
 (0)