From c1454c75a3022536bdcbeba4a4e89d756e937cf0 Mon Sep 17 00:00:00 2001 From: Tellinq <59412384+Tellinq@users.noreply.github.com> Date: Tue, 24 Jun 2025 11:11:07 -0400 Subject: [PATCH] Add required Java versions in accordance to each Minecraft version --- .github/workflows/build.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62008db..d4a420f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,11 +23,15 @@ jobs: with: fetch-depth: 10 - - name: Set up JDK 17 + - name: Set up JDK 8, 16, 17, 21 uses: actions/setup-java@v4 with: - java-version: 21 distribution: temurin + java-version: | + 8 + 16 + 17 + 21 - uses: actions/cache@v4 with: @@ -44,4 +48,4 @@ jobs: run: chmod +x ./gradlew - name: Build - run: ./gradlew build --no-daemon \ No newline at end of file + run: ./gradlew build --no-daemon