Skip to content

Commit b445794

Browse files
xerialclaude
andauthored
chore: update release CI to use Java 21 (#681)
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 <[email protected]>
1 parent e8e4cdb commit b445794

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
fetch-depth: 10000
1717
# Fetch all tags so that sbt-dynver can find the previous release version
1818
- run: git fetch --tags -f
19-
# Install OpenJDK 11
19+
# Install OpenJDK 21
2020
- uses: actions/setup-java@v4
2121
with:
2222
distribution: 'zulu'
23-
java-version: '11'
23+
java-version: '21'
2424
- name: Setup GPG
2525
env:
2626
PGP_SECRET: ${{ secrets.PGP_SECRET }}

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/setup-java@v4
2828
with:
2929
distribution: 'zulu'
30-
java-version: '11'
30+
java-version: '21'
3131
- uses: actions/cache@v4
3232
with:
3333
path: ~/.cache

0 commit comments

Comments
 (0)