docs: note jdkfile approach for Early Access / unreleased JDK builds#1058
Merged
Conversation
Clarify in advanced-usage that the existing 'jdkfile' distribution can be used to install Early Access (EA) or other unreleased JDK builds not provided directly by setup-java, by downloading the archive in a prior step and pointing jdkFile at it. Adds a concrete EA example. Addresses actions#612. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the advanced usage documentation to clarify that the existing distribution: 'jdkfile' path can be used to install Early Access (EA) / unreleased JDK archives that users download themselves, with setup-java still handling extraction and caching.
Changes:
- Adds a note calling out the EA / unreleased-build use case for
jdkfile. - Adds an EA-oriented example showing a download step followed by
distribution: 'jdkfile'+jdkFile.
Show a summary per file
| File | Description |
|---|---|
| docs/advanced-usage.md | Documents using jdkfile to install EA/unreleased JDK archives, adding a note and an example workflow snippet. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 3
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds a note and a concrete example to the "Installing Java from local file" section of
docs/advanced-usage.mdclarifying that the existingjdkfiledistribution can be used to install Early Access (EA) or other unreleased JDK builds that setup-java does not provide directly.Users download the desired archive in a prior step and point
jdkFileat it; setup-java handles extraction, installation, and caching as with any supported distribution.Why
This is a recurring ask (e.g., wanting to test against EA / unreleased Java versions). The capability already exists via
jdkfile, but it isn't called out for the EA use case, so users don't realize it's supported.Changes
> [!NOTE]callout explaining the EA / unreleased-build use case and per-architecture selection.jdk.java.netearly-access build and installing it viadistribution: 'jdkfile'.Related
Addresses #612.