Skip to content

Commit decb612

Browse files
authored
Make release input default to JDK 18
Closes #21
1 parent a87a2fe commit decb612

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ JDKs built by Oracle are [Oracle JDK](https://www.oracle.com/java/technologies/d
99
| Input Name | Default Value | Description |
1010
|------------|--------------:|-----------------------------------------------------------------|
1111
| `website` | `oracle.com` | From where the JDK should be downloaded from. |
12-
| `release` | `17` | Java feature release number or name of an Early-Access project. |
12+
| `release` | `18` | Java feature release number or name of an Early-Access project. |
1313
| `version` | `latest` | An explicit version of a Java release. |
1414
| `install` | `true` | Install the downloaded JDK archive file. |
1515
| `uri` | _empty_ | Custom URI of a JDK archive file to download. |
@@ -34,7 +34,13 @@ Following values are supported:
3434
### Input `release`
3535

3636
The `release` input denotes a Java feature release number (`17`, `18`, ...) or a name of an Early-Access project (`loom`, ...).
37-
It defaults to the latest long-term support release for the Java SE platform., which is `17` as of today.
37+
It defaults to the current General-Availability Release for the Java SE platform., which is `18` as of today.
38+
39+
Note that websites may offer a discrepant set of available releases.
40+
For example, `oracle.com` only offers releases above `17` and does not support Early-Access project releases.
41+
42+
Note also that websites may stop offering any release at any time.
43+
Please consult the website for details which release is offered for how long.
3844

3945
### Input `version`
4046

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ inputs:
1111
required: true
1212
default: 'oracle.com'
1313
release:
14-
description: 'Feature release number or project name, defaults to `17`'
14+
description: 'Feature release number or project name, defaults to `18`'
1515
required: true
16-
default: '17'
16+
default: '18'
1717
version:
1818
description: 'Additional version information, defaults to `latest`'
1919
required: true

0 commit comments

Comments
 (0)