Skip to content

Commit

Permalink
Update java to 23
Browse files Browse the repository at this point in the history
  • Loading branch information
samolego committed Sep 4, 2024
1 parent cbb6688 commit ad3d221
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 14 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/fabric-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/fabric-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/javadoc-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad3d221

Please sign in to comment.