mirror of
https://github.com/actions/setup-java.git
synced 2026-07-11 07:55:38 +00:00
Compare commits
1 Commits
efd7514f93
...
ca35c4d53c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca35c4d53c |
@ -215,6 +215,20 @@ The available package types are:
|
||||
- `jdk+ft` - JBRSDK (FreeType)
|
||||
- `jre+ft` - JBR (FreeType)
|
||||
|
||||
### GraalVM
|
||||
**NOTE:** Oracle GraalVM is only available for JDK 17 and later.
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'graalvm'
|
||||
java-version: '21'
|
||||
- run: |
|
||||
java -cp java HelloWorldApp
|
||||
native-image -cp java HelloWorldApp
|
||||
```
|
||||
|
||||
## Installing custom Java package type
|
||||
```yaml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user