This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| actions/setup-java | action | minor | v3.4.1
-> v3.7.0
|
Release Notes
actions/setup-java
Compare Source
In scope of this release we added support for Oracle JDK (https://github.com/actions/setup-java/pull/401). Besides, we added logic to Pass the token input through on GHES for Microsoft Build of OpenJDK (https://github.com/actions/setup-java/pull/395) and updated minimatch dependency.
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup-java
uses: actions/setup-java@v3
with:
distribution: oracle
java-version: 17
Supported distributions
Currently, the following distributions are supported:
| Keyword | Distribution | Official site | License
|-|-|-|-|
| temurin
| Eclipse Temurin | Link | Link
| zulu
| Azul Zulu OpenJDK | Link | Link |
| adopt
or adopt-hotspot
| AdoptOpenJDK Hotspot | Link | Link |
| adopt-openj9
| AdoptOpenJDK OpenJ9 | Link | Link |
| liberica
| Liberica JDK | Link | Link |
| microsoft
| Microsoft Build of OpenJDK | Link | Link
| corretto
| Amazon Corretto Build of OpenJDK | Link | Link
| oracle
| Oracle JDK | Link | Link
Compare Source
In scope of this release we added Maven Toolchains Support and Maven Toolchains Declaration. Moreover, from this release we use os.arch
to determine default architecture for runners: https://github.com/actions/setup-java/pull/376. Besides, we made such changes as:
Compare Source
In scope of this release we change logic for Microsoft Build of OpenJDK. Previously it had hard coded versions. In this release versions were moved to the separate json file. When a new version of Java is released, it can be added to this file and be used without releasing new version of the action.
Compare Source
Add support for multiple jdks
In scope of this release we add support for multiple jdks. Customers can specify multiple versions of java through java-version
input.
steps:
- uses: actions/setup-java@v3
with:
distribution: '<distribution>'
java-version: |
8
11
15
Besides, we added such changes as:
Configuration
๐
Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
๐ฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.
โป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
๐ Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.