From 7caac2fadab42877da1bcd3ea3a52c5342b4f16b Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 25 Jul 2024 01:34:08 +0200 Subject: [PATCH] Define profiles fot LTS jdk --- .github/workflows/build.yml | 6 +++--- pom.xml | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3660bf7a1..82ab0eced 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,7 +52,7 @@ jobs: - name: Build with maven run: - ./mvnw -V -B --errors --activate-profiles ci,?jdk${{ matrix.java }} --no-transfer-progress help:evaluate -Dexpression=workspace.root.dir package -DskipTests + ./mvnw -V -B --errors --activate-profiles ci,jdk${{ matrix.java }} --no-transfer-progress help:evaluate -Dexpression=workspace.root.dir package -DskipTests test: needs: compile @@ -84,14 +84,14 @@ jobs: - name: Build and test with maven # Skip all static checks, they were already done in the compile jobs run: - mvnw.cmd -B --errors --activate-profiles ci,?jdk${{ matrix.java }} --no-transfer-progress package + mvnw.cmd -B --errors --activate-profiles ci,jdk${{ matrix.java }} --no-transfer-progress package shell: cmd if: matrix.os == 'windows-latest' - name: Build and test with maven # Skip all static checks, they were already done in the compile jobs run: - ./mvnw -B --errors --activate-profiles ci,?jdk${{ matrix.java }} --no-transfer-progress package + ./mvnw -B --errors --activate-profiles ci,jdk${{ matrix.java }} --no-transfer-progress package if: matrix.os != 'windows-latest' - name: Archive test results and logs diff --git a/pom.xml b/pom.xml index 8c48595b1..348334b85 100644 --- a/pom.xml +++ b/pom.xml @@ -162,6 +162,15 @@ + + jdk11 + + + jdk17 + + + jdk21 + ci