mirror of
https://github.com/actions/setup-java.git
synced 2026-07-07 05:05:59 +00:00
Compare commits
1 Commits
97d91652eb
...
fc780fa3e2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc780fa3e2 |
@ -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