Skip to content

Commit cbec021

Browse files
committed
Move to temurin
Per `actions/setup-java`: “AdoptOpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is highly recommended to migrate workflows from adopt and adopt-openj9, to temurin and semeru respectively, to keep receiving software and security updates.”
1 parent fa94d4d commit cbec021

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/workflow.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up JDK 8
1616
uses: actions/setup-java@v4
1717
with:
18-
distribution: 'adopt'
18+
distribution: 'temurin'
1919
java-version: '8'
2020
cache: 'maven'
2121
- name: Build
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up JDK 21
3636
uses: actions/setup-java@v4
3737
with:
38-
distribution: 'adopt'
38+
distribution: 'temurin'
3939
java-version: '21'
4040
cache: 'maven'
4141
# Set up Android
@@ -57,7 +57,7 @@ jobs:
5757
- name: Set up JDK ${{ matrix.java }}
5858
uses: actions/setup-java@v4
5959
with:
60-
distribution: 'adopt'
60+
distribution: 'temurin'
6161
java-version: ${{ matrix.java }}
6262
cache: 'maven'
6363
- name: Build
@@ -71,7 +71,7 @@ jobs:
7171
- name: Set up OpenJDK 16
7272
uses: actions/setup-java@v4
7373
with:
74-
distribution: 'adopt'
74+
distribution: 'temurin'
7575
java-version: 21
7676
cache: 'maven'
7777
# Maven install with JVM locale = de_DE
@@ -87,7 +87,7 @@ jobs:
8787
- name: Set up JDK 8
8888
uses: actions/setup-java@v4
8989
with:
90-
distribution: 'adopt'
90+
distribution: 'temurin'
9191
java-version: '8'
9292
cache: 'maven'
9393
- name: Build
@@ -102,7 +102,7 @@ jobs:
102102
- name: Set up JDK 8
103103
uses: actions/setup-java@v4
104104
with:
105-
distribution: 'adopt'
105+
distribution: 'temurin'
106106
java-version: '8'
107107
cache: 'maven' # setup-java v4 includes maven caching
108108
- name: Build
@@ -116,7 +116,7 @@ jobs:
116116
- name: Set up JDK 8
117117
uses: actions/setup-java@v4
118118
with:
119-
distribution: 'adopt'
119+
distribution: 'temurin'
120120
java-version: '8'
121121
cache: 'maven'
122122
- name: Build

0 commit comments

Comments
 (0)