mirror of
https://github.com/actions/setup-java.git
synced 2025-03-30 08:36:36 +00:00
Merge bce2707a6c
into b8ebb8ba1d
This commit is contained in:
commit
3b9329abd0
1 changed files with 0 additions and 15 deletions
|
@ -215,21 +215,6 @@ The available package types are:
|
||||||
- `jdk+ft` - JBRSDK (FreeType)
|
- `jdk+ft` - JBRSDK (FreeType)
|
||||||
- `jre+ft` - JBR (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
|
## Installing custom Java package type
|
||||||
```yaml
|
```yaml
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Add table
Reference in a new issue