mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-25 15:04:32 +02:00
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 <noreply@anthropic.com>
This commit is contained in:
parent
e8e4cdbcfb
commit
b44579425f
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -16,11 +16,11 @@ jobs:
|
|||||||
fetch-depth: 10000
|
fetch-depth: 10000
|
||||||
# Fetch all tags so that sbt-dynver can find the previous release version
|
# Fetch all tags so that sbt-dynver can find the previous release version
|
||||||
- run: git fetch --tags -f
|
- run: git fetch --tags -f
|
||||||
# Install OpenJDK 11
|
# Install OpenJDK 21
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '11'
|
java-version: '21'
|
||||||
- name: Setup GPG
|
- name: Setup GPG
|
||||||
env:
|
env:
|
||||||
PGP_SECRET: ${{ secrets.PGP_SECRET }}
|
PGP_SECRET: ${{ secrets.PGP_SECRET }}
|
||||||
|
2
.github/workflows/snapshot.yml
vendored
2
.github/workflows/snapshot.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
|||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '11'
|
java-version: '21'
|
||||||
- uses: actions/cache@v4
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache
|
path: ~/.cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user