mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
throw error for non jdk package type
This commit is contained in:
parent
d23aed3c80
commit
0b802aad9c
3 changed files with 18 additions and 0 deletions
|
@ -65,6 +65,17 @@ steps:
|
|||
- run: java -cp java HelloWorldApp
|
||||
```
|
||||
|
||||
### Microsoft
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: 'microsoft'
|
||||
java-version: '11'
|
||||
- run: java -cp java HelloWorldApp
|
||||
```
|
||||
|
||||
## Installing custom Java package type
|
||||
```yaml
|
||||
steps:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue