mirror of
https://github.com/actions/setup-java.git
synced 2026-10-04 09:14:34 +03:00
Add an error condition for non jdk Microsoft OpenJDK build (#265)
This commit is contained in:
1 parent
d23aed3c80
commit
f0bb916062
3 files changed
+18
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user