oracle-actions/Setup Java Development Kits built by Oracle
Download and set up a JDK built by Oracle
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| website | Site to download JDK from: `oracle.com` or `jdk.java.net` | yes | oracle.com |
| release | Feature release number or project name, defaults to `26` | yes | 26 |
| version | Additional version information, defaults to `latest` | yes | latest |
| install | Install the downloaded JDK archive file by running actions/setup-java, defaults to `true` | yes | true |
| install-as-version | Controls which value is passed as `java-version` to actions/setup-java, defaults to `PARSE_URI` if `release` starts with a digit, else it defaults to `HASH_URI` | no | — |
| uri | URI of JDK archive file to download | no | — |
Outputs
| name | description |
|---|---|
| archive | The path to the downloaded JDK archive file |
| version | The version of the downloaded JDK |