Skip to content

Commit

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

0 comments on commit cbb6688

Please sign in to comment.