Skip to content

Commit 8f137cf

Browse files
committed
chore(ci): update Java distribution to use temurin instead of adopt
Temurin is the new home of what was previously known as AdoptJDK and is where things will be updated moving forward.
1 parent 9da8458 commit 8f137cf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/master-snapshot-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
java: [11, 16]
19-
distribution: [adopt, adopt-openj9]
19+
distribution: [temurin, adopt-openj9]
2020
kubernetes: ['v1.17.13','v1.18.20','v1.19.14','v1.20.10','v1.21.4']
2121
steps:
2222
- uses: actions/checkout@v2
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up Java and Maven
5050
uses: actions/[email protected]
5151
with:
52-
distribution: adopt
52+
distribution: temurin
5353
java-version: 11
5454
- name: Release Maven package
5555
uses: samuelmeuli/action-maven-publish@v1

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
java: [11, 16]
19-
distribution: [ adopt, adopt-openj9 ]
19+
distribution: [ temurin, adopt-openj9 ]
2020
kubernetes: ['v1.17.13','v1.18.20','v1.19.14','v1.20.10','v1.21.4']
2121
steps:
2222
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: actions/[email protected]
1414
with:
1515
java-version: 11
16-
distribution: adopt
16+
distribution: temurin
1717
- name: change version to release version
1818
# Assume that RELEASE_VERSION will have form like: "v1.0.1". So we cut the "v"
1919
run: ./mvnw ${MAVEN_ARGS} versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/[email protected]
3838
with:
3939
java-version: 11
40-
distribution: adopt
40+
distribution: temurin
4141
- name: change version to release version
4242
run: |
4343
./mvnw ${MAVEN_ARGS} versions:set -DnewVersion="${RELEASE_VERSION:1}" versions:commit

0 commit comments

Comments
 (0)