Sefiraat / Simple-Storage

A Slimefun Addon that adds new storage options for late game players
GNU General Public License v3.0
1 stars 8 forks source link

Update actions/setup-java action to v4 #29

Open renovate[bot] opened 10 months ago

renovate[bot] commented 10 months ago

This PR contains the following updates:

Package Type Update Change
actions/setup-java action major v1.4.3 -> v4.4.0

Release Notes

actions/setup-java (actions/setup-java) ### [`v4.4.0`](https://redirect.github.com/actions/setup-java/compare/v4.3.0...v4.4.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v4.3.0...v4.4.0) ### [`v4.3.0`](https://redirect.github.com/actions/setup-java/compare/v4.2.2...v4.3.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v4.2.2...v4.3.0) ### [`v4.2.2`](https://redirect.github.com/actions/setup-java/releases/tag/v4.2.2) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v4.2.1...v4.2.2) ##### What's Changed ##### 

Bug fixes: - Fix macos latest check failures by [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-java/pull/634](https://redirect.github.com/actions/setup-java/pull/634) - Fix dragonwell distribution parsing issues by [@​Accelerator1996](https://redirect.github.com/Accelerator1996) in [https://github.com/actions/setup-java/pull/643](https://redirect.github.com/actions/setup-java/pull/643) ##### Documentation changes - Update advanced documentation for java-version-file by [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) in [https://github.com/actions/setup-java/pull/622](https://redirect.github.com/actions/setup-java/pull/622) ##### Dependency updates: - Bump undici from 5.28.3 to 5.28.4 and other dependency updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/actions/setup-java/pull/616](https://redirect.github.com/actions/setup-java/pull/616) **Full Changelog**: https://github.com/actions/setup-java/compare/v4...v4.2.2 ### [`v4.2.1`](https://redirect.github.com/actions/setup-java/releases/tag/v4.2.1) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v4.2.0...v4.2.1) ##### What's Changed - Patch for java version file to accept it from any path by [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) in [https://github.com/actions/setup-java/pull/610](https://redirect.github.com/actions/setup-java/pull/610) **Full Changelog**: https://github.com/actions/setup-java/compare/v4...v4.2.1 ### [`v4.2.0`](https://redirect.github.com/actions/setup-java/releases/tag/v4.2.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v4.1.0...v4.2.0) ##### What's Changed - Updated actions/httpclient version to 2.2.1 and other dependencies by [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) in [https://github.com/actions/setup-java/pull/607](https://redirect.github.com/actions/setup-java/pull/607) - Added .tool-versions file support along with .java-version file by [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) in [https://github.com/actions/setup-java/pull/606](https://redirect.github.com/actions/setup-java/pull/606) ##### New Contributors - [@​HarithaVattikuti](https://redirect.github.com/HarithaVattikuti) made their first contribution in [https://github.com/actions/setup-java/pull/607](https://redirect.github.com/actions/setup-java/pull/607) **Full Changelog**: https://github.com/actions/setup-java/compare/v4...v4.2.0 ### [`v4.1.0`](https://redirect.github.com/actions/setup-java/releases/tag/v4.1.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v4.0.0...v4.1.0) #### What's Changed - Added Windows Arm64 Support for Windows Arm64 Runners by [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) in [https://github.com/actions/setup-java/pull/595](https://redirect.github.com/actions/setup-java/pull/595) - feat: bump actions/checkout and actions/setup-java to v4 by [@​kbdharun](https://redirect.github.com/kbdharun) in [https://github.com/actions/setup-java/pull/533](https://redirect.github.com/actions/setup-java/pull/533) - Handle authorization when the token is undefined by [@​peter-murray](https://redirect.github.com/peter-murray) in [https://github.com/actions/setup-java/pull/556](https://redirect.github.com/actions/setup-java/pull/556) - Documentation update of Java 21 by [@​Okeanos](https://redirect.github.com/Okeanos) in [https://github.com/actions/setup-java/pull/566](https://redirect.github.com/actions/setup-java/pull/566) - Documentation update about maven-gpg-plugin version note by [@​IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/570](https://redirect.github.com/actions/setup-java/pull/570) - Oracle JDK 21 support by [@​jdubois](https://redirect.github.com/jdubois) in [https://github.com/actions/setup-java/pull/538](https://redirect.github.com/actions/setup-java/pull/538) - Fix typo in configuration example by [@​Bananeweizen](https://redirect.github.com/Bananeweizen) in [https://github.com/actions/setup-java/pull/572](https://redirect.github.com/actions/setup-java/pull/572) #### New Contributors - [@​kbdharun](https://redirect.github.com/kbdharun) made their first contribution in [https://github.com/actions/setup-java/pull/533](https://redirect.github.com/actions/setup-java/pull/533) - [@​peter-murray](https://redirect.github.com/peter-murray) made their first contribution in [https://github.com/actions/setup-java/pull/556](https://redirect.github.com/actions/setup-java/pull/556) - [@​jdubois](https://redirect.github.com/jdubois) made their first contribution in [https://github.com/actions/setup-java/pull/538](https://redirect.github.com/actions/setup-java/pull/538) - [@​Bananeweizen](https://redirect.github.com/Bananeweizen) made their first contribution in [https://github.com/actions/setup-java/pull/572](https://redirect.github.com/actions/setup-java/pull/572) - [@​mahabaleshwars](https://redirect.github.com/mahabaleshwars) made their first contribution in [https://github.com/actions/setup-java/pull/595](https://redirect.github.com/actions/setup-java/pull/595) **Full Changelog**: https://github.com/actions/setup-java/compare/v4...v4.1.0 ### [`v4.0.0`](https://redirect.github.com/actions/setup-java/releases/tag/v4.0.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.13.0...v4.0.0) #### What's Changed In the scope of this release, the version of the Node.js runtime was updated to 20. The majority of dependencies were updated to the latest versions. From now on, the code for the setup-java will run on Node.js 20 instead of Node.js 16. #### Breaking changes - Update Node.js runtime to version 20 by [@​aparnajyothi-y](https://redirect.github.com/aparnajyothi-y) in [https://github.com/actions/setup-java/pull/558](https://redirect.github.com/actions/setup-java/pull/558) #### Non-breaking changes - Adding support for microsoft openjdk 21.0.0 by [@​ralfstuckert](https://redirect.github.com/ralfstuckert) in [https://github.com/actions/setup-java/pull/546](https://redirect.github.com/actions/setup-java/pull/546) - Update [@​actions/cache](https://redirect.github.com/actions/cache) dependency and documentation by [@​IvanZosimov](https://redirect.github.com/IvanZosimov) in [https://github.com/actions/setup-java/pull/549](https://redirect.github.com/actions/setup-java/pull/549) - Implementation of the cache-dependency-path option to control caching dependency by [@​itchyny](https://redirect.github.com/itchyny) in [https://github.com/actions/setup-java/pull/499](https://redirect.github.com/actions/setup-java/pull/499) #### New Contributors - [@​ralfstuckert](https://redirect.github.com/ralfstuckert) made their first contribution in [https://github.com/actions/setup-java/pull/546](https://redirect.github.com/actions/setup-java/pull/546) - [@​itchyny](https://redirect.github.com/itchyny) made their first contribution in [https://github.com/actions/setup-java/pull/499](https://redirect.github.com/actions/setup-java/pull/499) **Full Changelog**: https://github.com/actions/setup-java/compare/v3...v4.0.0 ### [`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) ### [`v3.3.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.3.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.2.0...v3.3.0) In scope of this pull request we add support for Amazon Corretto Build of OpenJDK ([https://github.com/actions/setup-java/pull/312](https://redirect.github.com/actions/setup-java/pull/312)). ```yaml steps: - name: Checkout uses: actions/checkout@v3 - name: Setup-java uses: actions/setup-java@v3 with: distribution: corretto java-version: 11 ``` ##### 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` | 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` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | Adopt OpenJDK 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/) ### [`v3.2.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.2.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.1.1...v3.2.0) This release introduces dependency caching support for sbt ([https://github.com/actions/setup-java/pull/302](https://redirect.github.com/actions/setup-java/pull/302)). ##### Caching sbt dependencies ```yml steps: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: distribution: 'temurin' java-version: '11' cache: 'sbt' - name: Build with SBT run: sbt package ``` ### [`v3.1.1`](https://redirect.github.com/actions/setup-java/releases/tag/v3.1.1) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.1.0...v3.1.1) This release introduces new output cache-hit ([https://github.com/actions/setup-java/pull/275](https://redirect.github.com/actions/setup-java/pull/275)) and update of `actions/cache` dependency to 2.0.2 ([https://github.com/actions/setup-java/pull/317](https://redirect.github.com/actions/setup-java/pull/317)) ##### Add "cache-hit" output The `cache-hit` output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled. ##### Update actions/cache to 2.0.2 We updated `actions/cache` package as the new version contains fixes related to GHES 3.5 ([https://github.com/actions/setup-java/pull/317](https://redirect.github.com/actions/setup-java/pull/317)) ### [`v3.1.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.1.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v3.0.0...v3.1.0) In scope of this release we added [support for caching from GHES 3.5](https://redirect.github.com/actions/setup-java/pull/308) and fixed download issue for files > 2GB during restore. ##### Updated dependencies: - bumped `minimist` from `1.2.5` to `1.2.6`. - updated `actions/cache` dependency to 2.0.0 version ### [`v3.0.0`](https://redirect.github.com/actions/setup-java/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.5.1...v3.0.0) In scope of this release we changed version of the runtime Node.js for the setup-java action and updated package-lock.json file to v2. ##### Breaking Changes With the update to Node 16 in [#​290](https://redirect.github.com/actions/setup-java/pull/290), all scripts will now be run with Node 16 rather than Node 12. ### [`v2.5.1`](https://redirect.github.com/actions/setup-java/releases/tag/v2.5.1) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.5.0...v2.5.1) In scope of this release we updated actions/core to 1.10.0 for v2 major tag: [https://github.com/actions/setup-java/pull/466](https://redirect.github.com/actions/setup-java/pull/466) ### [`v2.5.0`](https://redirect.github.com/actions/setup-java/releases/tag/v2.5.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.4.0...v2.5.0) In scope of this pull request we add support for Microsoft Build of OpenJDK ([https://github.com/actions/setup-java/pull/252](https://redirect.github.com/actions/setup-java/pull/252)). ```yaml steps: - name: Checkout uses: actions/checkout@v2 - name: Setup-java uses: actions/setup-java@v2 with: distribution: microsoft java-version: 11 ``` ##### 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` | 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` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | | `adopt-openj9` | Adopt OpenJDK 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) ### [`v2.4.0`](https://redirect.github.com/actions/setup-java/releases/tag/v2.4.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.3.1...v2.4.0) In scope of this pull request we add support for Liberica JDK ([https://github.com/actions/setup-java/pull/225](https://redirect.github.com/actions/setup-java/pull/225)). ```yaml steps: - name: Checkout uses: actions/checkout@v2 - name: Setup-java uses: actions/setup-java@v2 with: distribution: liberica java-version: 11 ``` ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License | |-|-|-|-| | `zulu` | 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` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html) | `liberica` | Liberica JDK | [Link](https://bell-sw.com/) | [Link](https://bell-sw.com/liberica_eula/) | ##### Update actions/cache dependency to 1.0.8 version. We updated actions/cache depdendency to the latest version (1.0.8). For more information please refer to the [toolkit/cache](https://redirect.github.com/actions/toolkit/blob/main/packages/cache/RELEASES.md). ### [`v2.3.1`](https://redirect.github.com/actions/setup-java/releases/tag/v2.3.1) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.3.0...v2.3.1) In this release we updated dependencies from the `dependabot`. In scope of this pull request http-client version was bumped [https://github.com/actions/setup-java/pull/222](https://redirect.github.com/actions/setup-java/pull/222). Besides the release resolves possible issues related to `removing gpg private key` pull request [https://github.com/actions/setup-java/pull/226](https://redirect.github.com/actions/setup-java/pull/226). ### [`v2.3.0`](https://redirect.github.com/actions/setup-java/releases/tag/v2.3.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.2.0...v2.3.0) This release introduces dependency caching support ([#​193](https://redirect.github.com/actions/setup-java/issues/193)). Now the action has a built-in functionality for caching and restoring dependencies. Supported package managers are Maven and Gradle. The `cache` input is optional, and caching is turned off by default. ##### Caching gradle dependencies ```yaml steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: distribution: 'temurin' java-version: '11' cache: 'gradle' - run: ./gradlew build ``` ##### Caching maven dependencies ```yaml steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: distribution: 'temurin' java-version: '11' cache: 'maven' - name: Build with Maven run: mvn -B package --file pom.xml ``` ### [`v2.2.0`](https://redirect.github.com/actions/setup-java/releases/tag/v2.2.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.1.0...v2.2.0) Add support for Eclipse Temurin ([#​201](https://redirect.github.com/actions/setup-java/issues/201)). ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License | |-|-|-|-| | `zulu` | 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` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | `temurin` | Eclipse Temurin | [Link](https://adoptium.net/) | [Link](https://adoptium.net/about.html) ### [`v2.1.0`](https://redirect.github.com/actions/setup-java/releases/tag/v2.1.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v2.0.0...v2.1.0) Add support for Adopt OpenJDK OpenJ9: ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License | |-|-|-|-| | `zulu` | 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` | Adopt OpenJDK Hotspot | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) | `adopt-openj9` | Adopt OpenJDK OpenJ9 | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) ### [`v2.0.0`](https://redirect.github.com/actions/setup-java/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v1.4.4...v2.0.0) ### The major release actions/setup-java@v2 See more details in [README file](https://redirect.github.com/actions/setup-java/blob/main/README.md). This action provides the following functionality for GitHub Actions runners: - Downloading and setting up a requested version of Java. See [Usage](#Usage) for a list of supported distributions - Extracting and caching custom version of Java from a local file - Configuring runner for publishing using Apache Maven - Configuring runner for publishing using Gradle - Configuring runner for using GPG private key - Registering problem matchers for error output #### V2 vs V1 - V2 supports custom distributions and provides support for Zulu OpenJDK and Adopt OpenJDK out of the box. V1 supports only Zulu OpenJDK - V2 requires you to specify distribution along with the version. V1 defaults to Zulu OpenJDK, only version input is required. Follow [the migration guide](docs/switching-to-v2.md) to switch from V1 to V2 #### Usage Inputs `java-version` and `distribution` are mandatory. See [Supported distributions](../README.md#Supported-distributions) section for a list of available options. ##### Basic **Adopt OpenJDK** ```yaml steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: distribution: 'adopt' # See 'Supported distributions' for available options java-version: '11' - run: java -cp java HelloWorldApp ``` **Zulu OpenJDK** ```yaml steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v2 with: distribution: 'zulu' # See 'Supported distributions' for available options java-version: '11' - run: java -cp java HelloWorldApp ``` ##### Supported version syntax The `java-version` input supports an exact version or a version range using [SemVer](https://semver.org/) notation: - major versions: `8`, `11`, `15` - more specific versions: `11.0`, `11.0.4`, `8.0.232`, `8.0.282+8` - early access (EA) versions: `15-ea`, `15.0.0-ea`, `15.0.0-ea.2`, `15.0.0+2-ea` ##### Supported distributions Currently, the following distributions are supported: | Keyword | Distribution | Official site | License | |-|-|-|-| | `zulu` | 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` | Adopt OpenJDK | [Link](https://adoptopenjdk.net/) | [Link](https://adoptopenjdk.net/about.html) **NOTE:** The different distributors can provide discrepant list of available versions / supported configurations. Please refer to the official documentation to see the list of supported versions. ### [`v1.4.4`](https://redirect.github.com/actions/setup-java/releases/tag/v1.4.4) [Compare Source](https://redirect.github.com/actions/setup-java/compare/v1.4.3...v1.4.4) In scope of this release we updated actions/core to 1.10.0 for v1: [https://github.com/actions/setup-java/pull/467](https://redirect.github.com/actions/setup-java/pull/467)

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.