From 69196c7f7d7c1b57c3b5eaf646af7651cd5454c9 Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Wed, 3 Apr 2024 18:37:11 +0200 Subject: [PATCH] Add java 21 LTS --- .github/workflows/maven.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1bd5097b..7e62d392 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -45,3 +45,11 @@ jobs: cache: maven - name: Build with Maven run: mvn -B -Popendj package --file pom.xml + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + cache: maven + - name: Build with Maven + run: mvn -B -Popendj package --file pom.xml