mirror of
https://github.com/ViaVersion/Mappings.git
synced 2025-03-30 17:26:15 +02:00
Update jdk used in actions
This commit is contained in:
parent
1e466821e9
commit
ec1e9a8935
.github/workflows
4
.github/workflows/gradle.yml
vendored
4
.github/workflows/gradle.yml
vendored
@ -11,11 +11,11 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v2
|
||||
- name: Set up JDK 17
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
java-version: 21
|
||||
check-latest: true
|
||||
- name: Build and test with Gradle
|
||||
run: ./gradlew test
|
||||
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
java-version: 21
|
||||
check-latest: true
|
||||
|
||||
- name: Validate Gradle Wrapper
|
||||
|
Loading…
Reference in New Issue
Block a user