From f5a9c36d9b6dbd96c37bfc6ad17b0a09d6541c25 Mon Sep 17 00:00:00 2001 From: Denis Stepulenok Date: Sat, 7 Nov 2026 15:05:37 +0100 Subject: [PATCH] Fix CI build: use JDK 21 as declared in pom.xml The CI job "build" set up JDK 11, but every module declares java.version 21 (source/target 21). Maven failed at compile with "invalid target release: 21". Align setup-java with java.version 21, as the existing "Java CI with Maven" workflow already does. Co-Authored-By: Claude Haiku 5.5 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb9cb69..38397c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 11 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '21' distribution: 'temurin' cache: 'maven'