Skip to content

Commit

Permalink
Use Eclipse Temurin, not AdoptOpenJDK in action (#2)
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 Mar 27, 2022
1 parent de1d523 commit d421050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v3.0.0
with:
java-version: '11'
distribution: 'adopt'
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify

0 comments on commit d421050

Please sign in to comment.