From b44579425f181ba17a1b284f08582e18748a1543 Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Sun, 20 Jul 2025 11:37:44 -0700 Subject: [PATCH] chore: update release CI to use Java 21 (#681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update both release.yml and snapshot.yml workflows to use Java 21 instead of Java 11 for building releases and snapshots. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- .github/workflows/release.yml | 4 ++-- .github/workflows/snapshot.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20894e6..234bf77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,11 @@ jobs: fetch-depth: 10000 # Fetch all tags so that sbt-dynver can find the previous release version - run: git fetch --tags -f - # Install OpenJDK 11 + # Install OpenJDK 21 - uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '11' + java-version: '21' - name: Setup GPG env: PGP_SECRET: ${{ secrets.PGP_SECRET }} diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 06579ae..af07a8f 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/setup-java@v4 with: distribution: 'zulu' - java-version: '11' + java-version: '21' - uses: actions/cache@v4 with: path: ~/.cache