forked from Upstream/CitizensCMD
Move to Java 21
This commit is contained in:
parent
6d78a37805
commit
22446f4d91
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
|||||||
if: startsWith(github.event.head_commit.message, '[CI-BUILD]')
|
if: startsWith(github.event.head_commit.message, '[CI-BUILD]')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 17 (Java 17)
|
- name: Set up JDK 21 (Java 21)
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 21
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Cache local Maven repository
|
- name: Cache local Maven repository
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user