diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 74e068af..918d3279 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,7 +17,7 @@ jobs: matrix: # os: [macos-latest, ubuntu-latest, windows-latest] os: [ubuntu-latest] - java-version: [21] + java-version: [21, 22] runs-on: ${{ matrix.os }} @@ -30,13 +30,13 @@ jobs: with: website: jdk.java.net release: ${{ matrix.java-version }} - if: ${{ matrix.java-version != 17 }} + if: ${{ matrix.java-version != 21 }} - name: Set JDK ${{ matrix.java-version }} from Zulu uses: actions/setup-java@v2 with: distribution: 'zulu' java-version: ${{ matrix.java-version }} - if: ${{ matrix.java-version == 17 }} + if: ${{ matrix.java-version == 21 }} - name: JDK Version run: java --version - name: Enable Maven Cache diff --git a/.github/workflows/solutions.yml b/.github/workflows/solutions.yml index 9a6eeb72..02de17d5 100644 --- a/.github/workflows/solutions.yml +++ b/.github/workflows/solutions.yml @@ -17,7 +17,7 @@ jobs: matrix: # os: [macos-latest, ubuntu-latest, windows-latest] os: [ubuntu-latest] - java-version: [21] + java-version: [21, 22] runs-on: ${{ matrix.os }} @@ -30,13 +30,13 @@ jobs: with: website: jdk.java.net release: ${{ matrix.java-version }} - if: ${{ matrix.java-version != 17 }} + if: ${{ matrix.java-version != 21 }} - name: Set JDK ${{ matrix.java-version }} from Zulu uses: actions/setup-java@v2 with: distribution: 'zulu' java-version: ${{ matrix.java-version }} - if: ${{ matrix.java-version == 17 }} + if: ${{ matrix.java-version == 21 }} - name: JDK Version run: java --version - name: Enable Maven Cache