From 31620f520e3c0904ec59c6eb9f1ab666993ce42d Mon Sep 17 00:00:00 2001 From: William Date: Wed, 29 May 2024 23:52:13 +0100 Subject: [PATCH] build: Java 21 is needed to compile fabric --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b0a415b..5c33d2c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,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 137ec361..0d0047a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.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