Skip to content

Commit

Permalink
ci: migrate workflows from adopt to temurin
Browse files Browse the repository at this point in the history
https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore.

It is highly recommended to migrate workflows from adopt to temurin to keep receiving software and security updates.
  • Loading branch information
Bambooin committed Oct 19, 2021
1 parent ca099fe commit fb85dd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/last-commit-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
fetch-depth: 0
submodules: 'recursive'

- name: Setup adopt JDK
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: "adopt"
distribution: "temurin"
java-version: 11
# will restore cache of dependencies and wrappers
cache: 'gradle'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
fetch-depth: 0
submodules: 'recursive'

- name: Setup adopt JDK
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: "adopt"
distribution: "temurin"
java-version: 11
# will restore cache of dependencies and wrappers
cache: 'gradle'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
fetch-depth: 0
submodules: 'recursive'

- name: Setup adopt JDK
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: "adopt"
distribution: "temurin"
java-version: 11
# will restore cache of dependencies and wrappers
cache: 'gradle'
Expand Down

0 comments on commit fb85dd4

Please sign in to comment.