Skip to content

Commit

Permalink
Use Eclipse Temurin, not AdoptOpenJDK in action (#29)
Browse files Browse the repository at this point in the history
The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage
  • Loading branch information
MarkEWaite authored Apr 1, 2022
1 parent 8da797e commit f856559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up JDK 8
uses: actions/setup-java@v3
uses: actions/setup-java@v3.0.0
with:
distribution: temurin
java-version: 8
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v3

- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v3.0.0
with:
java-version: 11
distribution: 'adopt'
distribution: 'temurin'
server-id: github
settings-path: ${{ github.workspace }}

Expand Down

0 comments on commit f856559

Please sign in to comment.