From f156d5c192561f510a6e9093be381fc8f126911e Mon Sep 17 00:00:00 2001 From: Damien Trouillet Date: Thu, 1 Aug 2024 17:04:24 +0200 Subject: [PATCH] build(java): add jdk 21 and 22 --- .github/workflows/docker.yml | 2 +- .github/workflows/maven.yml | 2 +- .github/workflows/sonarcloud.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f3d02810..c11e3934 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: adopt - java-version: 17 + java-version: 21 - name: Set env run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} - name: Dockerize with Maven diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 035a0053..81b4156a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java: [ 17, 19 ] + java: [ 17, 21, 22 ] steps: - uses: actions/checkout@v1 - name: Cache Maven Repo diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index e5782f43..066abf30 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: adopt - java-version: 17 + java-version: 21 - name: Build with Maven run: mvn -B --no-transfer-progress org.jacoco:jacoco-maven-plugin:prepare-agent package --file pom.xml --settings settings.xml env: