From 62ebd79b76e67f965f7a57aa510ee2fe96ddcda0 Mon Sep 17 00:00:00 2001 From: Russell Spitzer Date: Fri, 4 Sep 2026 09:50:32 -0500 Subject: [PATCH] Release workflows: use JDK 17 to match project target pom.xml sets 17 (since #3579, "Bump minimum Java version to 17"), but release-prepare-rc.yml and release-publish.yml still set up JDK 11. The mismatch produces "class file version 61.0 vs. 55.0" errors when the release build runs under Java 11. Update both workflows to JDK 17 (setup-java step name and java-version) so the runtime matches the compile target. Co-Authored-By: Claude Opus 4.7 --- .github/workflows/release-prepare-rc.yml | 4 ++-- .github/workflows/release-publish.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-prepare-rc.yml b/.github/workflows/release-prepare-rc.yml index 043bdf72ab..28db4c5dd7 100644 --- a/.github/workflows/release-prepare-rc.yml +++ b/.github/workflows/release-prepare-rc.yml @@ -56,11 +56,11 @@ jobs: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0 with: distribution: temurin - java-version: '11' + java-version: '17' - name: Import GPG key and configure Git env: diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 0945adaeb1..a0957bb75c 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -65,11 +65,11 @@ jobs: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0 with: distribution: temurin - java-version: '11' + java-version: '17' - name: Install Subversion run: sudo apt-get update -q && sudo apt-get install -q -y subversion