From 0d2090f7f483298fd1305ff2b32482a1470095bd Mon Sep 17 00:00:00 2001 From: Roberto Gentili Date: Wed, 1 May 2024 10:34:26 +0200 Subject: [PATCH] Added testing and releasing for JDK 22 --- .../[A] build and test, release if requested.yml | 8 ++++---- .../[M] build and test, compute coverage, release.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/[A] build and test, release if requested.yml b/.github/workflows/[A] build and test, release if requested.yml index fc1fbc7..5070998 100644 --- a/.github/workflows/[A] build and test, release if requested.yml +++ b/.github/workflows/[A] build and test, release if requested.yml @@ -7,7 +7,7 @@ on: paths: - "src/main/**.java" - "src/test/**.java" -# - ".github/workflows/**" + - ".github/workflows/**" - "**.properties" - "**.xml" @@ -20,7 +20,7 @@ jobs: max-parallel: 16 matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - java: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21] + java: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22] architecture: [x64] exclude: - os: macOS-latest @@ -48,10 +48,10 @@ jobs: if: github.event_name == 'push' && endsWith(github.event.head_commit.message, 'Releasing new version') steps: - uses: actions/checkout@v3 - - name: Set up JDK 21 + - name: Set up JDK 22 uses: actions/setup-java@v3 with: - java-version: 21 + java-version: 22 distribution: 'zulu' server-id: ossrh server-username: MAVEN_USERNAME diff --git a/.github/workflows/[M] build and test, compute coverage, release.yml b/.github/workflows/[M] build and test, compute coverage, release.yml index 21dc669..f0d2ab3 100644 --- a/.github/workflows/[M] build and test, compute coverage, release.yml +++ b/.github/workflows/[M] build and test, compute coverage, release.yml @@ -31,7 +31,7 @@ jobs: max-parallel: 15 matrix: os: [windows-latest, macOS-latest, ubuntu-latest] - java: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21] + java: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22] architecture: [x64] exclude: - os: macOS-latest @@ -74,10 +74,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 21 + - name: Set up JDK 22 uses: actions/setup-java@v3 with: - java-version: 21 + java-version: 22 distribution: 'zulu' server-id: ossrh server-username: MAVEN_USERNAME