diff --git a/.github/workflows/fabric-build.yml b/.github/workflows/fabric-build.yml index f1531674d..a32c27cf8 100644 --- a/.github/workflows/fabric-build.yml +++ b/.github/workflows/fabric-build.yml @@ -26,6 +26,7 @@ jobs: - name: setup jdk uses: actions/setup-java@v4 with: + distribution: "temurin" java-version: 21 - name: make gradle wrapper executable run: chmod +x ./gradlew diff --git a/.github/workflows/fabric-release.yml b/.github/workflows/fabric-release.yml index c19abbd74..60dce2d3d 100644 --- a/.github/workflows/fabric-release.yml +++ b/.github/workflows/fabric-release.yml @@ -26,6 +26,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: + distribution: "temurin" java-version: 21 - name: Grant execute permission for gradlew diff --git a/.github/workflows/javadoc-snapshot.yml b/.github/workflows/javadoc-snapshot.yml index abed0c61d..2fdbc3f92 100644 --- a/.github/workflows/javadoc-snapshot.yml +++ b/.github/workflows/javadoc-snapshot.yml @@ -14,6 +14,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: + distribution: "temurin" java-version: 21 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 975558462..579ce1ae5 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -18,6 +18,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: + distribution: "temurin" java-version: 21 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index f82a863f1..602926ccd 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -12,7 +12,8 @@ jobs: - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: - java-version: 23 + distribution: "temurin" + java-version: 21 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle