diff --git a/.github/workflows/fabric-build.yml b/.github/workflows/fabric-build.yml index a32c27cf8..ef9f6bf46 100644 --- a/.github/workflows/fabric-build.yml +++ b/.github/workflows/fabric-build.yml @@ -23,11 +23,10 @@ jobs: uses: actions/checkout@v2 - name: validate gradle wrapper uses: gradle/wrapper-validation-action@v1 - - name: setup jdk - uses: actions/setup-java@v4 + - name: Set up JDK + uses: actions/setup-java@v1 with: - distribution: "temurin" - java-version: 21 + java-version: 23 - name: make gradle wrapper executable run: chmod +x ./gradlew - name: build diff --git a/.github/workflows/fabric-release.yml b/.github/workflows/fabric-release.yml index 60dce2d3d..2582c9d3c 100644 --- a/.github/workflows/fabric-release.yml +++ b/.github/workflows/fabric-release.yml @@ -24,10 +24,9 @@ jobs: gradle- - uses: actions/checkout@v2 - name: Set up JDK - uses: actions/setup-java@v4 + uses: actions/setup-java@v1 with: - distribution: "temurin" - java-version: 21 + java-version: 23 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/javadoc-snapshot.yml b/.github/workflows/javadoc-snapshot.yml index 2fdbc3f92..a6c9cba26 100644 --- a/.github/workflows/javadoc-snapshot.yml +++ b/.github/workflows/javadoc-snapshot.yml @@ -14,8 +14,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - distribution: "temurin" - java-version: 21 + java-version: 23 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 579ce1ae5..fd117c0bf 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -18,8 +18,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - distribution: "temurin" - java-version: 21 + java-version: 23 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 602926ccd..ebeca01cd 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -9,11 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 1.8 + - name: Set up JDK uses: actions/setup-java@v1 with: - distribution: "temurin" - java-version: 21 + java-version: 23 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle