Skip to content

Commit 74f6908

Browse files
committed
migration requirements to actions/setup-java v2
1 parent 7c0a47b commit 74f6908

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
- name: Set up JDK 1.11
3131
uses: actions/setup-java@v2
3232
with:
33-
java-version: 1.11
33+
java-version: 11
34+
distribution: 'adopt'
3435
- name: Grant execute permission for gradlew
3536
run: chmod +x gradlew
3637
- name: Compile and checkstyle with Gradle
@@ -45,7 +46,8 @@ jobs:
4546
- name: Set up JDK 1.11
4647
uses: actions/setup-java@v2
4748
with:
48-
java-version: 1.11
49+
java-version: 11
50+
distribution: 'adopt'
4951
- name: Grant execute permission for gradlew
5052
run: chmod +x gradlew
5153
- name: Journey test

0 commit comments

Comments
 (0)