From d93b6de5a7c3e974e353bfa6adae11c45362e7d5 Mon Sep 17 00:00:00 2001 From: "Mr. Snowy" <61592704+MrSn0wy@users.noreply.github.com> Date: Tue, 30 Apr 2024 21:49:51 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 94d2e66..5d42810 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,8 +12,7 @@ jobs: matrix: # Use these Java versions java: [ - 17, # Current Java LTS & minimum supported by Minecraft - 21, # Current Java LTS + 21, # Currently min for minecraft ] runs-on: ubuntu-22.04 steps: @@ -25,7 +24,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} - distribution: 'microsoft' + distribution: 'adopt-openj17' - name: make gradle wrapper executable run: chmod +x ./gradlew - name: build