Skip to content

Commit 4bb5082

Browse files
Update build.yml add distribution: 'temurin' of JDK
add distribution: 'temurin' of JavaSE-21
1 parent a209e39 commit 4bb5082

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/setup-java@v1
1919
with:
2020
java-version: '21'
21+
distribution: 'temurin'
2122

2223
- name: Cache local Maven repository
2324
uses: actions/cache@v4
@@ -49,6 +50,7 @@ jobs:
4950
uses: actions/setup-java@v1
5051
with:
5152
java-version: '21'
53+
distribution: 'temurin'
5254

5355
- name: Cache local Maven repository
5456
uses: actions/cache@v4
@@ -75,6 +77,7 @@ jobs:
7577
uses: actions/setup-java@v1
7678
with:
7779
java-version: '21'
80+
distribution: 'temurin'
7881

7982
- name: Cache local Maven repository
8083
uses: actions/cache@v4

0 commit comments

Comments
 (0)