Skip to content

docs: note jdkfile approach for Early Access / unreleased JDK builds#1058

Merged
brunoborges merged 5 commits into
actions:mainfrom
brunoborges:docs/jdkfile-early-access
Jun 23, 2026
Merged

docs: note jdkfile approach for Early Access / unreleased JDK builds#1058
brunoborges merged 5 commits into
actions:mainfrom
brunoborges:docs/jdkfile-early-access

Conversation

@brunoborges

Copy link
Copy Markdown
Contributor

Description

Adds a note and a concrete example to the "Installing Java from local file" section of docs/advanced-usage.md clarifying that the existing jdkfile distribution 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 jdkFile at 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

  • Add a > [!NOTE] callout explaining the EA / unreleased-build use case and per-architecture selection.
  • Add a concrete EA example downloading an jdk.java.net early-access build and installing it via distribution: 'jdkfile'.

Related

Addresses #612.

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>
@brunoborges brunoborges requested a review from a team as a code owner June 23, 2026 17:06
Copilot AI review requested due to automatic review settings June 23, 2026 17:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread docs/advanced-usage.md
Comment thread docs/advanced-usage.md Outdated
Comment thread docs/advanced-usage.md
brunoborges and others added 2 commits June 23, 2026 13:17
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment thread docs/advanced-usage.md Outdated
Comment thread docs/advanced-usage.md
brunoborges and others added 2 commits June 23, 2026 13:22
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@brunoborges brunoborges merged commit fa2c650 into actions:main Jun 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants