Skip to content

Commit c09711b

Browse files
authored
Update JDK provider
1 parent dbaf7c8 commit c09711b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
1+
# This workflow will build a Java project with Maven
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
33

44
name: Kotlin CI
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up JDK 17
2424
uses: actions/setup-java@v4
2525
with:
26-
distribution: 'temurin'
26+
distribution: 'corretto'
2727
java-version: '17'
2828
cache: 'gradle'
2929
- name: Cache SonarCloud packages
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up JDK 17
5151
uses: actions/setup-java@v4
5252
with:
53-
distribution: 'temurin'
53+
distribution: 'corretto'
5454
java-version: '17'
5555
cache: 'gradle'
5656
- name: Build with Gradle
@@ -68,9 +68,8 @@ jobs:
6868
- name: Set up JDK 17
6969
uses: actions/setup-java@v4
7070
with:
71-
distribution: 'temurin'
71+
distribution: 'corretto'
7272
java-version: '17'
7373
cache: 'gradle'
7474
- name: Build with Gradle
7575
run: chmod +x gradlew && ./gradlew test --no-daemon
76-

0 commit comments

Comments
 (0)