diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1402c08..ec0af08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v3 with: + distribution: microsoft java-version: 17 # Run against supported Minecraft versions - name: Build and test (Minecraft version = latest release, variant = vanilla) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e7f026..b617dac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v3 with: + distribution: microsoft java-version: 17 - name: Build Artifact run: bin/ci.sh --clean diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 8ca3065..1ef1bc5 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -26,6 +26,7 @@ jobs: - name: Set up JDK 17 uses: actions/setup-java@v3 with: + distribution: microsoft java-version: 17 # Run against supported Minecraft versions - name: Build and test (Minecraft version = latest snapshot, variant = vanilla)