From 6e0e51f4f7c9fd99fcc4f2fd0f6e46615308d2ce Mon Sep 17 00:00:00 2001 From: William Date: Mon, 24 Jun 2024 13:26:38 +0100 Subject: [PATCH] build: update Java version targets in ci --- .github/workflows/ci.yml | 2 +- .github/workflows/pr_tests.yml | 4 ++-- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4c8d8d1..25d20fab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,4 +132,4 @@ jobs: fabric game-versions: | 1.21 - java: 17 \ No newline at end of file + java: 21 \ No newline at end of file diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 8d252fbb..c902f85d 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -15,10 +15,10 @@ jobs: steps: - name: 'Checkout for CI 🛎' uses: actions/checkout@v4 - - name: 'Set up JDK 17 📦' + - name: 'Set up JDK 21 📦' uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'temurin' - name: 'Build with Gradle 🏗️' uses: gradle/gradle-build-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebdfe9bb..56f58c58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,4 +118,4 @@ jobs: fabric game-versions: | 1.21 - java: 17 \ No newline at end of file + java: 21 \ No newline at end of file