mirror of
https://github.com/actions/setup-java.git
synced 2026-07-07 13:25:45 +00:00
Compare commits
4 Commits
cc0103f30c
...
a368ab84e0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a368ab84e0 | ||
|
|
b78a0ce7c7 | ||
|
|
30bab15302 | ||
|
|
ca7d0c6d8c |
@ -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
|
||||
|
||||
1618
package-lock.json
generated
1618
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user