mirror of
https://github.com/actions/setup-java.git
synced 2026-07-11 16:15:38 +00:00
Compare commits
4 Commits
2f6f6d043e
...
65e30a2e81
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65e30a2e81 | ||
|
|
3b6c050358 | ||
|
|
d87ca55394 | ||
|
|
99163b5ebf |
22
.github/ISSUE_TEMPLATE/new_distribution_request.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/new_distribution_request.md
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
name: New Java distribution template
|
||||||
|
about: Suggest a new Java distribution request
|
||||||
|
title: ''
|
||||||
|
labels: new-distribution
|
||||||
|
assignees: ''
|
||||||
|
---
|
||||||
|
|
||||||
|
**Description:**
|
||||||
|
Describe your proposal.
|
||||||
|
|
||||||
|
**Justification:**
|
||||||
|
Justification or a use case for your proposal.
|
||||||
|
|
||||||
|
**Download URL:**
|
||||||
|
Download URL for a new distribution
|
||||||
|
|
||||||
|
**License:**
|
||||||
|
Link for license for a new distribution
|
||||||
|
|
||||||
|
**Are you willing to submit a PR?**
|
||||||
|
<!--- We accept contributions! -->
|
||||||
16
.github/new_distribution_pull_request_template.md
vendored
Normal file
16
.github/new_distribution_pull_request_template.md
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
**Description:**
|
||||||
|
Describe your changes.
|
||||||
|
|
||||||
|
**Related issue:**
|
||||||
|
Add link to the related issue.
|
||||||
|
|
||||||
|
**Download URL:**
|
||||||
|
Download URL for a new distribution
|
||||||
|
|
||||||
|
**License:**
|
||||||
|
Link for license for a new distribution
|
||||||
|
|
||||||
|
**Check list:**
|
||||||
|
- [ ] Mark if documentation changes are required.
|
||||||
|
- [ ] Mark if tests were added or updated to cover the changes.
|
||||||
|
- [ ] Mark if new distribution is being added.
|
||||||
@ -215,20 +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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user