You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`website`|`oracle.com`| From where the JDK should be downloaded from.|
11
+
|`website`|`oracle.com`| From where the JDK should be downloaded. |
12
12
|`release`|`23`| Java feature release number or name of an Early-Access project. |
13
13
|`version`|`latest`| An explicit version of a Java release. |
14
14
|`install`|`true`| Install the downloaded JDK archive file. |
@@ -17,16 +17,16 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d
17
17
18
18
### Input `website`
19
19
20
-
The `website` input specifies from where the JDK should be downloaded from.
20
+
The `website` input specifies from where the JDK should be downloaded.
21
21
It defaults to `oracle.com`.
22
22
23
-
Following values are supported:
23
+
The following values are supported:
24
24
25
25
-[`oracle.com`](https://www.oracle.com/java/technologies/downloads/) for Oracle JDK 21 and later.
26
26
27
27
This action only supports Oracle JDKs provided under the [Oracle No-Fee Terms and Conditions License](https://www.java.com/freeuselicense/).
28
28
29
-
-[`jdk.java.net`](https://jdk.java.net) for the current OpenJDK General Availability build and for OpenJDK Early-Access builds.
29
+
-[`jdk.java.net`](https://jdk.java.net) for the current OpenJDK General Availability and Early-Access builds.
30
30
31
31
Early-Access builds include the [mainline](https://github.com/openjdk/jdk/tags) JDK, Generational ZGC, Project Loom and jextract, Panama, Valhalla, etc.
32
32
@@ -38,14 +38,14 @@ The `release` input denotes a Java feature release number (`21`, `22`, ...) or a
38
38
It defaults to the current General-Availability Release for the Java SE platform., which is `23` as of today.
39
39
40
40
Note that websites may offer a different set of available releases.
41
-
For example, `oracle.com` only offers releases of `21` and above; it does not offer any Early-Access releases.
41
+
For example, `oracle.com` only offers releases of `21` and above; it does not offer Early-Access releases.
42
42
43
43
Note also that websites may stop offering any release at any time.
44
-
Please consult the website for details which release is offered for how long.
44
+
Please consult the website for details on which release is offered for how long.
45
45
46
46
### Input `version`
47
47
48
-
The `version` input can be used to specify an explicit version of a Java release, ex.`21.0.4`.
48
+
The `version` input can be used to specify an explicit version of a Java release, such as`21.0.4`.
49
49
It is set by default to `latest`.
50
50
51
51
___
@@ -61,7 +61,7 @@ ___
61
61
The `install` input enables or disables the automatic JDK installation of the downloaded JDK archive file.
62
62
It is enabled by default by using `true` as its value.
63
63
64
-
This action delegates to [`actions/setup-java`](https://github.com/actions/setup-java)in order to install the downloaded JDK archive file using default
64
+
This action delegates to [`actions/setup-java`](https://github.com/actions/setup-java) to install the downloaded JDK archive file using default settings.
65
65
Pass `false` to skip the automatic JDK installation and invoke `actions/setup-java` with your custom settings.
66
66
67
67
### Input `install-as-version`
@@ -149,7 +149,7 @@ steps:
149
149
150
150
## Supported GitHub Actions Virtual Environments
151
151
152
-
All [environments](https://github.com/actions/virtual-environments#available-environments) that have Java 21 pre-installed are supported.
152
+
All [environments](https://github.com/actions/virtual-environments#available-environments) with Java 21 pre-installed are supported.
153
153
These include the following labels: `ubuntu-latest`, `macos-latest`, and `windows-latest`.
0 commit comments