Skip to content

Commit 55f05c6

Browse files
authored
Updated Java distribution for GitHub Actions builds (apache#5337)
Changed the distribution from adopt to temurin as recommended at https://github.com/actions/setup-java#supported-distributions because AdoptOpenJDK has moved to Eclipse Temurin and is not being updated anymore.
1 parent 0db1fd9 commit 55f05c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Set up JDK 17
4242
uses: actions/setup-java@v4
4343
with:
44-
distribution: adopt
44+
distribution: temurin
4545
java-version: 17
4646
cache: 'maven'
4747
- name: Show the first log message
@@ -72,7 +72,7 @@ jobs:
7272
- name: Set up JDK ${{ matrix.profile.javaver }}
7373
uses: actions/setup-java@v4
7474
with:
75-
distribution: adopt
75+
distribution: temurin
7676
java-version: ${{ matrix.profile.javaver }}
7777
cache: 'maven'
7878
- name: Override DNS to fix IP address for hostname

0 commit comments

Comments
 (0)