mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-03-28 12:49:44 +01:00
github actions should use Java 21
This commit is contained in:
parent
b2bf29cae2
commit
571a60f7a7
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -31,13 +31,13 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# 2. Setup Java 17 JDK (Adopt)
|
# 2. Setup Java 21 JDK (Adopt)
|
||||||
- name: Java 17 setup
|
- name: Java 21 setup
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-package: jdk
|
java-package: jdk
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
|
|
||||||
# 3. Setup local Maven package cache to speed up building
|
# 3. Setup local Maven package cache to speed up building
|
||||||
- name: Cache Maven packages
|
- name: Cache Maven packages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user