Skip to content

Commit 5e8b4a8

Browse files
committed
use correct version of java setup
1 parent 16737b5 commit 5e8b4a8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/gradle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@v3
22-
- name: Set up JDK 1.8
23-
uses: actions/setup-java@v2
22+
- name: Set up JDK 8
23+
uses: actions/setup-java@v3
2424
with:
25-
distribution: "microsoft"
26-
java-version: "8"
25+
distribution: "temurin"
26+
java-version: 8
2727
- name: Grant execute permission for gradlew
2828
run: chmod +x gradlew
2929
- name: Build with Gradle

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
steps:
99
- uses: actions/checkout@v3
1010
- name: Set up Java
11-
uses: actions/setup-java@v2
11+
uses: actions/setup-java@v3
1212
with:
13-
distribution: "microsoft"
14-
java-version: "8"
13+
distribution: "temurin"
14+
java-version: 8
1515
- name: Grant execute permission for gradlew
1616
run: chmod +x gradlew
1717
- name: Version release

0 commit comments

Comments
 (0)