Updated CI setup
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 0cd022d..3416fdd 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -25,7 +25,8 @@
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
- java: [8, 11, 14, 15-ea]
+ java: [8, 11, 17-ea]
+ jdk: [temurin, zulu]
fail-fast: false
runs-on: ${{ matrix.os }}
@@ -34,19 +35,12 @@
- name: Checkout
uses: actions/checkout@v2
- - name: Set up cache for ~./m2/repository
- uses: actions/cache@v1
- with:
- path: ~/.m2/repository
- key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- maven-${{ matrix.os }}-java${{ matrix.java }}-
- maven-${{ matrix.os }}-
-
- name: Set up JDK
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v2
with:
+ cache: 'maven'
+ distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}
- name: Build with Maven
- run: mvn verify -e -B -V -P run-its
+ run: mvn verify -e -B -V -P run-its
\ No newline at end of file