Update actions/setup-java action to v4 #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2.1.0->v4.2.2Release Notes
actions/setup-java (actions/setup-java)
v4.2.2Compare Source
What's Changed
Bug fixes:
Documentation changes
Dependency updates:
Full Changelog: actions/setup-java@v4...v4.2.2
v4.2.1Compare Source
What's Changed
Full Changelog: actions/setup-java@v4...v4.2.1
v4.2.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/setup-java@v4...v4.2.0
v4.1.0Compare Source
What's Changed
New Contributors
Full Changelog: actions/setup-java@v4...v4.1.0
v4.0.0Compare Source
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
Non-breaking changes
New Contributors
Full Changelog: actions/setup-java@v3...v4.0.0
v3.13.0Compare Source
What's changed
In the scope of this release, support for Dragonwell JDK was added by @Accelerator1996 in https://github.com/actions/setup-java/pull/532
Several inaccuracies were also fixed:
New Contributors
Full Changelog: actions/setup-java@v3...v3.13.0
v3.12.0Compare Source
In scope of this release the following changes were made:
Bug fixes:
Feature implementations:
Resolving dependencies issues:
Infrastructure updates:
Documentation changes:
New Contributors
Full Changelog: actions/setup-java@v3...v3.12.0
v3.11.0Compare Source
In scope of this release we added support for IBM Semeru (OpenJ9) JDK (https://github.com/actions/setup-java/pull/289).
Supported distributions
Currently, the following distributions are supported:
temurinzuluadoptoradopt-hotspotadopt-openj9libericamicrosoftcorrettosemeruoraclev3.10.0Compare Source
In scope of this release we added support for Oracle JDK (https://github.com/actions/setup-java/pull/450).
Supported distributions
Currently, the following distributions are supported:
temurinzuluadoptoradopt-hotspotadopt-openj9libericamicrosoftcorrettooraclev3.9.0Compare Source
In scope of this release we add support for
.java-versionfile (https://github.com/actions/setup-java/pull/426). For more information about its usage please refer to the documentation.v3.8.0Compare Source
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) and updated minimatch dependency.
v3.6.0Compare Source
In scope of this release we added Maven Toolchains Support and Maven Toolchains Declaration. Moreover, from this release we use
os.archto determine default architecture for runners: https://github.com/actions/setup-java/pull/376. Besides, we made such changes as:SEGMENT_DOWNLOAD_TIMEOUT_MINSv3.5.1Compare 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.
v3.5.0Compare 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-versioninput.Besides, we added such changes as:
v3.4.1Compare Source
In scope of this release we updated
actions/cachepackage as the new version contains fixes for caching error handling.v3.4.0Compare Source
In scope of this release we introduce such changes as:
Zulu OpenJDKarm64 architecture: https://github.com/actions/setup-java/pull/339Sbt-cache: don't cache some files: https://github.com/actions/setup-java/pull/332v3.3.0Compare Source
In scope of this pull request we add support for Amazon Corretto Build of OpenJDK (https://github.com/actions/setup-java/pull/312).
Supported distributions
Currently, the following distributions are supported:
temurinzuluadoptoradopt-hotspotadopt-openj9libericamicrosoftcorrettov3.2.0Compare Source
This release introduces dependency caching support for sbt (https://github.com/actions/setup-java/pull/302).
Caching sbt dependencies
v3.1.1Compare Source
This release introduces new output cache-hit (https://github.com/actions/setup-java/pull/275) and update of
actions/cachedependency to 2.0.2 (https://github.com/actions/setup-java/pull/317)Add "cache-hit" output
The
cache-hitoutput 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/cachepackage as the new version contains fixes related to GHES 3.5 (https://github.com/actions/setup-java/pull/317)v3.1.0Compare Source
In scope of this release we added support for caching from GHES 3.5 and fixed download issue for files > 2GB during restore.
Updated dependencies:
minimistfrom1.2.5to1.2.6.actions/cachedependency to 2.0.0 versionv3.0.0Compare Source
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, all scripts will now be run with Node 16 rather than Node 12.
v2.5.1Compare Source
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
v2.5.0Compare Source
In scope of this pull request we add support for Microsoft Build of OpenJDK (https://github.com/actions/setup-java/pull/252).
Supported distributions
Currently, the following distributions are supported:
temurinzuluadoptoradopt-hotspotadopt-openj9libericamicrosoftv2.4.0Compare Source
In scope of this pull request we add support for Liberica JDK (https://github.com/actions/setup-java/pull/225).
Supported distributions
Currently, the following distributions are supported:
zuluadoptoradopt-hotspotadopt-openj9temurinlibericaUpdate 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.
v2.3.1Compare Source
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. Besides the release resolves possible issues related toremoving gpg private keypull request https://github.com/actions/setup-java/pull/226.v2.3.0Compare Source
This release introduces dependency caching support (#193).
Now the action has a built-in functionality for caching and restoring dependencies. Supported package managers are Maven and Gradle. The
cacheinput is optional, and caching is turned off by default.Caching gradle dependencies
Caching maven dependencies
v2.2.0Compare Source
Add support for Eclipse Temurin (#201).
Supported distributions
Currently, the following distributions are supported:
zuluadoptoradopt-hotspotadopt-openj9temurinConfiguration
📅 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.