diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1c221ff8fc..9ccccb1e8e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - java: [11, 17, 20, 21-ea] + java: [11, 17, 21, 22] distribution: ['zulu'] fail-fast: false max-parallel: 5 @@ -36,10 +36,17 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up JDK + - name: Set JDK from jdk.java.net + uses: oracle-actions/setup-java@v1 + with: + website: jdk.java.net + release: ${{ matrix.java }} + if: ${{ matrix.java != '11' && matrix.java != '17' }} + - name: Set up older JDK uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} distribution: ${{ matrix.distribution }} + if: ${{ matrix.java == '11' || matrix.java == '17' }} - name: Test with Maven run: ./mvnw test -B -D"license.skip=true" diff --git a/pom.xml b/pom.xml index cb7036fcf7..ee104868be 100644 --- a/pom.xml +++ b/pom.xml @@ -112,6 +112,8 @@ 5.9.1 + 0.8.11 + 1684481211