mirror of
https://gitea.com/actions/setup-java.git
synced 2025-11-15 03:56:25 +08:00
Compare commits
3 Commits
a368ab84e0
...
cc0103f30c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc0103f30c | ||
|
|
83e45b5ab9 | ||
|
|
3b6c050358 |
@@ -215,20 +215,6 @@ 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
|
||||
|
||||
1410
package-lock.json
generated
1410
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user