@@ -9,7 +9,7 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d
9
9
| Input Name | Default Value | Description |
10
10
| -----------------------| --------------:| -----------------------------------------------------------------|
11
11
| ` website ` | ` oracle.com ` | From where the JDK should be downloaded from. |
12
- | ` release ` | ` 22 ` | Java feature release number or name of an Early-Access project. |
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. |
15
15
| ` install-as-version ` | _ empty_ | Control the value passed as ` java-version ` |
@@ -22,7 +22,7 @@ It defaults to `oracle.com`.
22
22
23
23
Following values are supported:
24
24
25
- - [ ` oracle.com ` ] ( https://www.oracle.com/java/technologies/downloads/ ) for Oracle JDK 17 and later.
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
@@ -34,18 +34,18 @@ Following values are supported:
34
34
35
35
### Input ` release `
36
36
37
- The ` release ` input denotes a Java feature release number (` 17 ` , ` 18 ` , ...) or a name of an Early-Access project (` loom ` , ...).
38
- It defaults to the current General-Availability Release for the Java SE platform., which is ` 22 ` as of today.
37
+ The ` release ` input denotes a Java feature release number (` 21 ` , ` 22 ` , ...) or a name of an Early-Access project (` loom ` , ...).
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 ` 17 ` 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 any Early-Access releases.
42
42
43
43
Note also that websites may stop offering any release at any time.
44
44
Please consult the website for details 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. ` 17 .0.1 ` .
48
+ The ` version ` input can be used to specify an explicit version of a Java release, ex. ` 21 .0.4 ` .
49
49
It is set by default to ` latest ` .
50
50
51
51
___
@@ -69,7 +69,7 @@ Pass `false` to skip the automatic JDK installation and invoke `actions/setup-ja
69
69
The ` install-as-version ` input allows overriding the value passed as ` java-version ` to the underlying ` actions/setup-java ` action.
70
70
71
71
Supported values of ` install-as-version ` include:
72
- - ` PARSE_URI ` parses the computed or given URI for a valid Java version string, ex. ` 17 .0.1 ` .
72
+ - ` PARSE_URI ` parses the computed or given URI for a valid Java version string, ex. ` 21 .0.4 ` .
73
73
- ` HASH_URI ` returns the ` hashCode() ` of the computed or given URI as a string, ex. ` 12345 ` .
74
74
- All strings [ supported by ` actions/setup-java ` ] ( https://github.com/actions/setup-java#supported-version-syntax )
75
75
@@ -90,23 +90,23 @@ The following examples use the [JDK Script Friendly URLs](https://www.oracle.com
90
90
91
91
``` yaml
92
92
steps :
93
- - name : ' Set up latest Oracle JDK 22 '
93
+ - name : ' Set up latest Oracle JDK 23 '
94
94
uses : oracle-actions/setup-java@v1
95
95
with :
96
96
website : oracle.com
97
- release : 22
97
+ release : 23
98
98
` ` `
99
99
100
100
### Download and install a specific version of Oracle JDK
101
101
102
102
` ` ` yaml
103
103
steps :
104
- - name : ' Set up archived Oracle JDK 17 .0.10 '
104
+ - name : ' Set up archived Oracle JDK 21 .0.4 '
105
105
uses : oracle-actions/setup-java@v1
106
106
with :
107
107
website : oracle.com
108
- release : 17
109
- version : 17 .0.10
108
+ release : 21
109
+ version : 21 .0.4
110
110
` ` `
111
111
___
112
112
@@ -128,7 +128,7 @@ steps:
128
128
uses: oracle-actions/setup-java@v1
129
129
with:
130
130
website: jdk.java.net
131
- release: N # Replace N with GA, EA, 17, 18, 19 , ...
131
+ release: N # Replace N with GA, EA, 21, 22, 23 , ...
132
132
` ` `
133
133
134
134
> [!NOTE]
0 commit comments