Skip to content

Small improvements for README.md #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d

| Input Name | Default Value | Description |
|-----------------------|--------------:|-----------------------------------------------------------------|
| `website` | `oracle.com` | From where the JDK should be downloaded from. |
| `website` | `oracle.com` | From where the JDK should be downloaded. |
| `release` | `23` | Java feature release number or name of an Early-Access project. |
| `version` | `latest` | An explicit version of a Java release. |
| `install` | `true` | Install the downloaded JDK archive file. |
Expand All @@ -17,16 +17,16 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d

### Input `website`

The `website` input specifies from where the JDK should be downloaded from.
The `website` input specifies from where the JDK should be downloaded.
It defaults to `oracle.com`.

Following values are supported:
The following values are supported:

- [`oracle.com`](https://www.oracle.com/java/technologies/downloads/) for Oracle JDK 21 and later.

This action only supports Oracle JDKs provided under the [Oracle No-Fee Terms and Conditions License](https://www.java.com/freeuselicense/).

- [`jdk.java.net`](https://jdk.java.net) for the current OpenJDK General Availability build and for OpenJDK Early-Access builds.
- [`jdk.java.net`](https://jdk.java.net) for the current OpenJDK General Availability and Early-Access builds.

Early-Access builds include the [mainline](https://github.com/openjdk/jdk/tags) JDK, Generational ZGC, Project Loom and jextract, Panama, Valhalla, etc.

Expand All @@ -38,14 +38,14 @@ The `release` input denotes a Java feature release number (`21`, `22`, ...) or a
It defaults to the current General-Availability Release for the Java SE platform., which is `23` as of today.

Note that websites may offer a different set of available releases.
For example, `oracle.com` only offers releases of `21` and above; it does not offer any Early-Access releases.
For example, `oracle.com` only offers releases of `21` and above; it does not offer Early-Access releases.

Note also that websites may stop offering any release at any time.
Please consult the website for details which release is offered for how long.
Please consult the website for details on which release is offered for how long.

### Input `version`

The `version` input can be used to specify an explicit version of a Java release, ex. `21.0.4`.
The `version` input can be used to specify an explicit version of a Java release, such as `21.0.4`.
It is set by default to `latest`.

___
Expand All @@ -61,7 +61,7 @@ ___
The `install` input enables or disables the automatic JDK installation of the downloaded JDK archive file.
It is enabled by default by using `true` as its value.

This action delegates to [`actions/setup-java`](https://github.com/actions/setup-java) in order to install the downloaded JDK archive file using default
This action delegates to [`actions/setup-java`](https://github.com/actions/setup-java) to install the downloaded JDK archive file using default settings.
Pass `false` to skip the automatic JDK installation and invoke `actions/setup-java` with your custom settings.

### Input `install-as-version`
Expand Down Expand Up @@ -149,7 +149,7 @@ steps:

## Supported GitHub Actions Virtual Environments

All [environments](https://github.com/actions/virtual-environments#available-environments) that have Java 21 pre-installed are supported.
All [environments](https://github.com/actions/virtual-environments#available-environments) with Java 21 pre-installed are supported.
These include the following labels: `ubuntu-latest`, `macos-latest`, and `windows-latest`.

## More information
Expand Down
Loading