actions/setup-java (actions/setup-java)
### [`v3.13.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.13.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.12.0...v3.13.0)
##### What's changed
In the scope of this release, support for Dragonwell JDK was added by [@Accelerator1996](https://redirect.github.com/Accelerator1996) in [https://github.com/actions/setup-java/pull/532](https://redirect.github.com/actions/setup-java/pull/532)
```yaml
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup-java
uses: actions/setup-java@v3
with:
distribution: 'dragonwell'
java-version: '17'
```
Several inaccuracies were also fixed:
- Fix XML namespaces wrongly using https by [@gnodet](https://redirect.github.com/gnodet) in [https://github.com/actions/setup-java/pull/503](https://redirect.github.com/actions/setup-java/pull/503)
- Fix typo and remove unintentional(?) word by [@CyberFlameGO](https://redirect.github.com/CyberFlameGO) in [https://github.com/actions/setup-java/pull/518](https://redirect.github.com/actions/setup-java/pull/518)
- Fix usage link within the README.md file by [@dassiorleando](https://redirect.github.com/dassiorleando) in [https://github.com/actions/setup-java/pull/525](https://redirect.github.com/actions/setup-java/pull/525)
##### New Contributors
- [@CyberFlameGO](https://redirect.github.com/CyberFlameGO) made their first contribution in [https://github.com/actions/setup-java/pull/518](https://redirect.github.com/actions/setup-java/pull/518)
- [@dassiorleando](https://redirect.github.com/dassiorleando) made their first contribution in [https://github.com/actions/setup-java/pull/525](https://redirect.github.com/actions/setup-java/pull/525)
- [@gnodet](https://redirect.github.com/gnodet) made their first contribution in [https://github.com/actions/setup-java/pull/503](https://redirect.github.com/actions/setup-java/pull/503)
- [@Accelerator1996](https://redirect.github.com/Accelerator1996) made their first contribution in [https://github.com/actions/setup-java/pull/532](https://redirect.github.com/actions/setup-java/pull/532)
**Full Changelog**: https://github.com/actions/setup-java/compare/v3...v3.13.0
### [`v3.12.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.12.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.11.0...v3.12.0)
In scope of this release the following changes were made:
**Bug fixes:**
- Always check postfix "Contents/Home" on macOS by [@erwin1](https://redirect.github.com/erwin1) in [https://github.com/actions/setup-java/pull/397](https://redirect.github.com/actions/setup-java/pull/397)
- Fix sbt/scala cache key by [@Dogacel](https://redirect.github.com/Dogacel) in [https://github.com/actions/setup-java/pull/478](https://redirect.github.com/actions/setup-java/pull/478)
- Corretto toolcache folder name fix by [@IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/480](https://redirect.github.com/actions/setup-java/pull/480)
- Update versions of Oracle JDK and Microsoft Build of OpenJDK by [@anishi1222](https://redirect.github.com/anishi1222) in [https://github.com/actions/setup-java/pull/489](https://redirect.github.com/actions/setup-java/pull/489)
- Update Oracle JDK download URL calculation by [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-java/pull/507](https://redirect.github.com/actions/setup-java/pull/507)
**Feature implementations:**
- Add versions properties to cache by [@Endi327](https://redirect.github.com/Endi327) in [https://github.com/actions/setup-java/pull/280](https://redirect.github.com/actions/setup-java/pull/280)
**Resolving dependencies issues:**
- Remove implicit dependencies by [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-java/pull/494](https://redirect.github.com/actions/setup-java/pull/494)
- Update xml2js by [@dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-java/pull/484](https://redirect.github.com/actions/setup-java/pull/484)
- Update dependencies by [@IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/511](https://redirect.github.com/actions/setup-java/pull/511)
**Infrastructure updates:**
- Fix glob bug in package.json scripts section by [@IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/475](https://redirect.github.com/actions/setup-java/pull/475)
- Update mocks by [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-java/pull/498](https://redirect.github.com/actions/setup-java/pull/498)
**Documentation changes:**
- Instruction to download custom distribution JDK and install by [@ragsmpl](https://redirect.github.com/ragsmpl) in [https://github.com/actions/setup-java/pull/500](https://redirect.github.com/actions/setup-java/pull/500)
##### New Contributors
- [@erwin1](https://redirect.github.com/erwin1) made their first contribution in [https://github.com/actions/setup-java/pull/397](https://redirect.github.com/actions/setup-java/pull/397)
- [@Dogacel](https://redirect.github.com/Dogacel) made their first contribution in [https://github.com/actions/setup-java/pull/478](https://redirect.github.com/actions/setup-java/pull/478)
- [@anishi1222](https://redirect.github.com/anishi1222) made their first contribution in [https://github.com/actions/setup-java/pull/489](https://redirect.github.com/actions/setup-java/pull/489)
- [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-java/pull/498](https://redirect.github.com/actions/setup-java/pull/498)
- [@ragsmpl](https://redirect.github.com/ragsmpl) made their first contribution in [https://github.com/actions/setup-java/pull/500](https://redirect.github.com/actions/setup-java/pull/500)
- [@Endi327](https://redirect.github.com/Endi327) made their first contribution in [https://github.com/actions/setup-java/pull/280](https://redirect.github.com/actions/setup-java/pull/280)
**Full Changelog**: https://github.com/actions/setup-java/compare/v3...v3.12.0
### [`v3.11.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.11.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.10.0...v3.11.0)
In scope of this release we added support for IBM Semeru (OpenJ9) JDK ([https://github.com/actions/setup-java/pull/289](https://redirect.github.com/actions/setup-java/pull/289)).
```yaml
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup-java
uses: actions/setup-java@v3
with:
distribution: semeru
java-version: 17
```
##### Supported distributions
Currently, the following distributions are supported:
| Keyword | Distribution | Official site | License
|-|-|-|-|
| `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html)
| `zulu` | Azul Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) |
| `adopt` or `adopt-hotspot` | AdoptOpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `adopt-openj9` | AdoptOpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) |
| `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq)
| `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/)
| `semeru` | IBM Semeru Runtime Open Edition | [Link](https://developer.ibm.com/languages/java/semeru-runtimes/downloads/) | [Link](https://openjdk.java.net/legal/gplv2+ce.html) |
| `oracle` | Oracle JDK | [Link](https://www.oracle.com/java/technologies/downloads/) | [Link](https://java.com/freeuselicense)
### [`v3.10.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.10.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.9.0...v3.10.0)
In scope of this release we added support for Oracle JDK ([https://github.com/actions/setup-java/pull/450](https://redirect.github.com/actions/setup-java/pull/450)).
```yaml
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](https://adoptium.net/) | [Link](https://adoptium.net/about.html)
| `zulu` | Azul Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) |
| `adopt` or `adopt-hotspot` | AdoptOpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `adopt-openj9` | AdoptOpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) |
| `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) |
| `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq)
| `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/)
| `oracle` | Oracle JDK | [Link](https://www.oracle.com/java/technologies/downloads/) | [Link](https://java.com/freeuselicense)
### [`v3.9.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.9.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.8.0...v3.9.0)
In scope of this release we add support for `.java-version` file ([https://github.com/actions/setup-java/pull/426](https://redirect.github.com/actions/setup-java/pull/426)). For more information about its usage please refer to the documentation.
```yaml
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: ''
java-version-file: .java-version
- run: java HelloWorldApp.java
```
### [`v3.8.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.8.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.6.0...v3.8.0)
In scope of this release we added logic to pass the token input through on GHES for Microsoft Build of OpenJDK ([https://github.com/actions/setup-java/pull/395](https://redirect.github.com/actions/setup-java/pull/395)) and updated [minimatch](https://redirect.github.com/actions/setup-java/pull/413) dependency.
### [`v3.6.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.6.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.5.1...v3.6.0)
In scope of this release we added [Maven Toolchains Support](https://redirect.github.com/actions/setup-java/issues/276) and [Maven Toolchains Declaration](https://redirect.github.com/actions/setup-java/pull/282). Moreover, from this release we use `os.arch` to determine default architecture for runners: [https://github.com/actions/setup-java/pull/376](https://redirect.github.com/actions/setup-java/pull/376). Besides, we made such changes as:
- [Upgrade @actions/cache from 3.0.0 to 3.0.4](https://redirect.github.com/actions/setup-java/pull/392) so it respects `SEGMENT_DOWNLOAD_TIMEOUT_MINS`
- [Support Gradle version catalog](https://redirect.github.com/actions/setup-java/pull/394)
- [Update @actions/core to 1.10.0](https://redirect.github.com/actions/setup-java/pull/390)
### [`v3.5.1`](https://redirect.github.com/actions/setup-java/releases/tag/v3.5.1)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.5.0...v3.5.1)
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](https://redirect.github.com/actions/setup-java/blob/main/src/distributions/microsoft/microsoft-openjdk-versions.json). 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.
- Related pull request: [https://github.com/actions/setup-java/pull/383](https://redirect.github.com/actions/setup-java/pull/383)
### [`v3.5.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.5.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.4.1...v3.5.0)
##### Add support for multiple jdks
In scope of this release we add [support for multiple jdks](https://redirect.github.com/actions/setup-java/pull/368). Customers can specify multiple versions of java through `java-version` input.
```yaml
steps:
- uses: actions/setup-java@v3
with:
distribution: ''
java-version: |
8
11
15
```
##### Besides, we added such changes as:
- Removed restore-keys because it leaded to an unexpected growth of the cache: [https://github.com/actions/setup-java/pull/285](https://redirect.github.com/actions/setup-java/pull/285)
- Added new files pattern for gradle cache: [https://github.com/actions/setup-java/pull/274](https://redirect.github.com/actions/setup-java/pull/274)
- Added cache-hit output to the action.yml: [https://github.com/actions/setup-java/pull/373](https://redirect.github.com/actions/setup-java/pull/373)
### [`v3.4.1`](https://redirect.github.com/actions/setup-java/releases/tag/v3.4.1)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.4.0...v3.4.1)
In scope of this release we updated `actions/cache` package as the new version contains fixes for [caching error handling](https://redirect.github.com/actions/setup-java/pull/350).
### [`v3.4.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.4.0)
[Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.3.0...v3.4.0)
In scope of this release we introduce such changes as:
- Add Java 11.0.15 to Microsoft Build of OpenJDK: [https://github.com/actions/setup-java/pull/331](https://redirect.github.com/actions/setup-java/pull/331)
- Update versions for Java 17 to 17.0.3 and add aarch64 support to Java 11 for Microsoft Build of OpenJDK: [https://github.com/actions/setup-java/pull/342](https://redirect.github.com/actions/setup-java/pull/342)
- Fix support for `Zulu OpenJDK` arm64 architecture: [https://github.com/actions/setup-java/pull/339](https://redirect.github.com/actions/setup-java/pull/339)
- `Sbt-cache`: don't cache some files: [https://github.com/actions/setup-java/pull/332](https://redirect.github.com/actions/setup-java/pull/332)
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 contains the following updates:
v3.3.0
->v3.13.0
Release Notes
actions/setup-java (actions/setup-java)
### [`v3.13.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.13.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.12.0...v3.13.0) ##### What's changed In the scope of this release, support for Dragonwell JDK was added by [@Accelerator1996](https://redirect.github.com/Accelerator1996) in [https://github.com/actions/setup-java/pull/532](https://redirect.github.com/actions/setup-java/pull/532) ```yaml steps: - name: Checkout uses: actions/checkout@v3 - name: Setup-java uses: actions/setup-java@v3 with: distribution: 'dragonwell' java-version: '17' ``` Several inaccuracies were also fixed: - Fix XML namespaces wrongly using https by [@gnodet](https://redirect.github.com/gnodet) in [https://github.com/actions/setup-java/pull/503](https://redirect.github.com/actions/setup-java/pull/503) - Fix typo and remove unintentional(?) word by [@CyberFlameGO](https://redirect.github.com/CyberFlameGO) in [https://github.com/actions/setup-java/pull/518](https://redirect.github.com/actions/setup-java/pull/518) - Fix usage link within the README.md file by [@dassiorleando](https://redirect.github.com/dassiorleando) in [https://github.com/actions/setup-java/pull/525](https://redirect.github.com/actions/setup-java/pull/525) ##### New Contributors - [@CyberFlameGO](https://redirect.github.com/CyberFlameGO) made their first contribution in [https://github.com/actions/setup-java/pull/518](https://redirect.github.com/actions/setup-java/pull/518) - [@dassiorleando](https://redirect.github.com/dassiorleando) made their first contribution in [https://github.com/actions/setup-java/pull/525](https://redirect.github.com/actions/setup-java/pull/525) - [@gnodet](https://redirect.github.com/gnodet) made their first contribution in [https://github.com/actions/setup-java/pull/503](https://redirect.github.com/actions/setup-java/pull/503) - [@Accelerator1996](https://redirect.github.com/Accelerator1996) made their first contribution in [https://github.com/actions/setup-java/pull/532](https://redirect.github.com/actions/setup-java/pull/532) **Full Changelog**: https://github.com/actions/setup-java/compare/v3...v3.13.0 ### [`v3.12.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.12.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.11.0...v3.12.0) In scope of this release the following changes were made: **Bug fixes:** - Always check postfix "Contents/Home" on macOS by [@erwin1](https://redirect.github.com/erwin1) in [https://github.com/actions/setup-java/pull/397](https://redirect.github.com/actions/setup-java/pull/397) - Fix sbt/scala cache key by [@Dogacel](https://redirect.github.com/Dogacel) in [https://github.com/actions/setup-java/pull/478](https://redirect.github.com/actions/setup-java/pull/478) - Corretto toolcache folder name fix by [@IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/480](https://redirect.github.com/actions/setup-java/pull/480) - Update versions of Oracle JDK and Microsoft Build of OpenJDK by [@anishi1222](https://redirect.github.com/anishi1222) in [https://github.com/actions/setup-java/pull/489](https://redirect.github.com/actions/setup-java/pull/489) - Update Oracle JDK download URL calculation by [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-java/pull/507](https://redirect.github.com/actions/setup-java/pull/507) **Feature implementations:** - Add versions properties to cache by [@Endi327](https://redirect.github.com/Endi327) in [https://github.com/actions/setup-java/pull/280](https://redirect.github.com/actions/setup-java/pull/280) **Resolving dependencies issues:** - Remove implicit dependencies by [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-java/pull/494](https://redirect.github.com/actions/setup-java/pull/494) - Update xml2js by [@dmitry-shibanov](https://redirect.github.com/dmitry-shibanov) in [https://github.com/actions/setup-java/pull/484](https://redirect.github.com/actions/setup-java/pull/484) - Update dependencies by [@IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/511](https://redirect.github.com/actions/setup-java/pull/511) **Infrastructure updates:** - Fix glob bug in package.json scripts section by [@IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/475](https://redirect.github.com/actions/setup-java/pull/475) - Update mocks by [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) in [https://github.com/actions/setup-java/pull/498](https://redirect.github.com/actions/setup-java/pull/498) **Documentation changes:** - Instruction to download custom distribution JDK and install by [@ragsmpl](https://redirect.github.com/ragsmpl) in [https://github.com/actions/setup-java/pull/500](https://redirect.github.com/actions/setup-java/pull/500) ##### New Contributors - [@erwin1](https://redirect.github.com/erwin1) made their first contribution in [https://github.com/actions/setup-java/pull/397](https://redirect.github.com/actions/setup-java/pull/397) - [@Dogacel](https://redirect.github.com/Dogacel) made their first contribution in [https://github.com/actions/setup-java/pull/478](https://redirect.github.com/actions/setup-java/pull/478) - [@anishi1222](https://redirect.github.com/anishi1222) made their first contribution in [https://github.com/actions/setup-java/pull/489](https://redirect.github.com/actions/setup-java/pull/489) - [@nikolai-laevskii](https://redirect.github.com/nikolai-laevskii) made their first contribution in [https://github.com/actions/setup-java/pull/498](https://redirect.github.com/actions/setup-java/pull/498) - [@ragsmpl](https://redirect.github.com/ragsmpl) made their first contribution in [https://github.com/actions/setup-java/pull/500](https://redirect.github.com/actions/setup-java/pull/500) - [@Endi327](https://redirect.github.com/Endi327) made their first contribution in [https://github.com/actions/setup-java/pull/280](https://redirect.github.com/actions/setup-java/pull/280) **Full Changelog**: https://github.com/actions/setup-java/compare/v3...v3.12.0 ### [`v3.11.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.11.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.10.0...v3.11.0) In scope of this release we added support for IBM Semeru (OpenJ9) JDK ([https://github.com/actions/setup-java/pull/289](https://redirect.github.com/actions/setup-java/pull/289)). ```yaml steps: - name: Checkout uses: actions/checkout@v3 - name: Setup-java uses: actions/setup-java@v3 with: distribution: semeru java-version: 17 ``` ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License |-|-|-|-| | `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html) | `zulu` | Azul Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) | | `adopt` or `adopt-hotspot` | AdoptOpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | AdoptOpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) | | `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq) | `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/) | `semeru` | IBM Semeru Runtime Open Edition | [Link](https://developer.ibm.com/languages/java/semeru-runtimes/downloads/) | [Link](https://openjdk.java.net/legal/gplv2+ce.html) | | `oracle` | Oracle JDK | [Link](https://www.oracle.com/java/technologies/downloads/) | [Link](https://java.com/freeuselicense) ### [`v3.10.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.10.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.9.0...v3.10.0) In scope of this release we added support for Oracle JDK ([https://github.com/actions/setup-java/pull/450](https://redirect.github.com/actions/setup-java/pull/450)). ```yaml 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](https://adoptium.net/) | [Link](https://adoptium.net/about.html) | `zulu` | Azul Zulu OpenJDK | [Link](https://www.azul.com/downloads/zulu-community/?package=jdk) | [Link](https://www.azul.com/products/zulu-and-zulu-enterprise/zulu-terms-of-use/) | | `adopt` or `adopt-hotspot` | AdoptOpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | AdoptOpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) | | `microsoft` | Microsoft Build of OpenJDK | [Link](https://www.microsoft.com/openjdk) | [Link](https://docs.microsoft.com/java/openjdk/faq) | `corretto` | Amazon Corretto Build of OpenJDK | [Link](https://aws.amazon.com/corretto/) | [Link](https://aws.amazon.com/corretto/faqs/) | `oracle` | Oracle JDK | [Link](https://www.oracle.com/java/technologies/downloads/) | [Link](https://java.com/freeuselicense) ### [`v3.9.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.9.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.8.0...v3.9.0) In scope of this release we add support for `.java-version` file ([https://github.com/actions/setup-java/pull/426](https://redirect.github.com/actions/setup-java/pull/426)). For more information about its usage please refer to the documentation. ```yaml steps: - uses: actions/checkout@v3 - name: Setup java uses: actions/setup-java@v3 with: distribution: '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.
This PR was generated by Mend Renovate. View the repository job log.