Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d24d799
Update `jdk.java.net-uri.properties`
Sep 17, 2024
1c323f9
Support Java 22 in its "soon-archived" state
sormuras Sep 17, 2024
eb20dd8
Update `jdk.java.net-uri.properties`
Sep 17, 2024
99d2850
Update `jdk.java.net-uri.properties`
Sep 17, 2024
22ea2e7
Update `jdk.java.net-uri.properties`
Sep 19, 2024
3f5d3e9
Update `jdk.java.net-uri.properties`
Sep 27, 2024
98f7249
Update `jdk.java.net-uri.properties`
Oct 4, 2024
b896bbe
Update `jdk.java.net-uri.properties`
Oct 7, 2024
52aa98e
Update `jdk.java.net-uri.properties`
Oct 10, 2024
f131e31
Update `jdk.java.net-uri.properties`
Oct 15, 2024
f43be9b
Update `jdk.java.net-uri.properties`
Oct 17, 2024
dc9a188
Remove tests for no longer supported JDK releases
sormuras Oct 18, 2024
c9fe5a7
Small improvements for README.md (#92)
scordio Oct 18, 2024
1e0f862
Update `jdk.java.net-uri.properties`
Oct 21, 2024
d8507f9
Update `jdk.java.net-uri.properties`
Oct 24, 2024
6aee163
Update `jdk.java.net-uri.properties`
Nov 1, 2024
87ef744
Update `jdk.java.net-uri.properties`
Nov 7, 2024
7e3a8eb
Update `jdk.java.net-uri.properties`
Nov 7, 2024
d2bab22
Update `jdk.java.net-uri.properties`
Nov 7, 2024
3f3b4d9
Update `jdk.java.net-uri.properties`
Nov 9, 2024
d7dbb8e
Update `jdk.java.net-uri.properties`
Nov 9, 2024
d61f44c
Update `jdk.java.net-uri.properties`
Nov 14, 2024
57da72d
Update `jdk.java.net-uri.properties`
Nov 22, 2024
4105f83
Update `jdk.java.net-uri.properties`
Dec 2, 2024
92a7581
Update `jdk.java.net-uri.properties`
Dec 6, 2024
c009ae8
Include JDK 25 in default EA list
sormuras Dec 7, 2024
034c41c
Update `jdk.java.net-uri.properties`
Dec 13, 2024
e413d99
Update `jdk.java.net-uri.properties`
Dec 20, 2024
37a5274
Update `jdk.java.net-uri.properties`
Jan 3, 2025
cd54b56
Update `jdk.java.net-uri.properties`
Jan 10, 2025
b99006d
Update `jdk.java.net-uri.properties`
Jan 21, 2025
020d1d6
Update `jdk.java.net-uri.properties`
Jan 23, 2025
24b488d
Update `jdk.java.net-uri.properties`
Jan 24, 2025
df61ffe
Update `jdk.java.net-uri.properties`
Jan 25, 2025
748c1e9
Update `jdk.java.net-uri.properties`
Jan 30, 2025
f56bbaa
Update `jdk.java.net-uri.properties`
Jan 31, 2025
1b5adab
Update `jdk.java.net-uri.properties`
Feb 4, 2025
03a9fe2
Update `jdk.java.net-uri.properties`
Feb 6, 2025
3306cab
Update `jdk.java.net-uri.properties`
Feb 7, 2025
89ee058
Update `jdk.java.net-uri.properties`
Feb 7, 2025
ec15739
Update `jdk.java.net-uri.properties`
Feb 14, 2025
acddab5
Update `jdk.java.net-uri.properties`
Feb 20, 2025
a84437e
Update `jdk.java.net-uri.properties`
Mar 3, 2025
166f542
Update `jdk.java.net-uri.properties`
Mar 7, 2025
248e71a
Update `jdk.java.net-uri.properties`
Mar 14, 2025
2c1d5af
Update `jdk.java.net-uri.properties`
Mar 15, 2025
44aa126
Java 24 / JDK 24: General Availability
sormuras Mar 18, 2025
01d10bb
Update `jdk.java.net-uri.properties`
Mar 18, 2025
8fb9d77
Release 1.4.1
sormuras Mar 19, 2025
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
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This project uses tags and branches for [release management](https://docs.github
## [Unreleased]
_nothing noteworthy yet_

## [1.4.1] - 2025-03-19
### Changed
- Default value of `release` input to Java `23`

## [1.4.0] - 2024-03-21
### Added
- Java `24` and project `leyden` to the list of Early-Access releases
Expand Down Expand Up @@ -71,7 +75,8 @@ _nothing noteworthy yet_
### Added
- Initial Release

[Unreleased]: https://github.com/oracle-actions/setup-java/compare/v1.4.0...HEAD
[Unreleased]: https://github.com/oracle-actions/setup-java/compare/v1.4.1...HEAD
[1.4.1]: https://github.com/oracle-actions/setup-java/compare/v1.4.0...v1.4.1
[1.4.0]: https://github.com/oracle-actions/setup-java/compare/v1.3.4...v1.4.0
[1.3.4]: https://github.com/oracle-actions/setup-java/compare/v1.3.3...v1.3.4
[1.3.3]: https://github.com/oracle-actions/setup-java/compare/v1.3.2...v1.3.3
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ 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. |
| `release` | `23` | Java feature release number or name of an Early-Access project. |
| `website` | `oracle.com` | From where the JDK should be downloaded. |
| `release` | `24` | 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. |
| `install-as-version` | _empty_ | Control the value passed as `java-version` |
| `uri` | _empty_ | Custom URI of a JDK archive file to download. |

### 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 @@ -35,17 +35,17 @@ Following values are supported:
### Input `release`

The `release` input denotes a Java feature release number (`21`, `22`, ...) or a name of an Early-Access project (`loom`, ...).
It defaults to the current General-Availability Release for the Java SE platform., which is `23` as of today.
It defaults to the current General-Availability Release for the Java SE platform., which is `24` 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 @@ -90,11 +90,11 @@ The following examples use the [JDK Script Friendly URLs](https://www.oracle.com

```yaml
steps:
- name: 'Set up latest Oracle JDK 23'
- name: 'Set up latest Oracle JDK 24'
uses: oracle-actions/setup-java@v1
with:
website: oracle.com
release: 23
release: 24
```

### Download and install a specific version of Oracle JDK
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
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ inputs:
required: true
default: 'oracle.com'
release:
description: 'Feature release number or project name, defaults to `23`'
description: 'Feature release number or project name, defaults to `24`'
required: true
default: '23'
default: '24'
version:
description: 'Additional version information, defaults to `latest`'
required: true
Expand Down
Loading