added example of using for liberica

This commit is contained in:
Daniil Razorenov 2021-11-25 19:12:21 +03:00
commit 917823a2cd
2 changed files with 13 additions and 0 deletions

View file

@ -53,6 +53,18 @@ steps:
- run: java -cp java HelloWorldApp
```
### Liberica
```yaml
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'liberica'
java-version: '11'
java-package: jdk # optional (jdk, jre, jdk+fx or jre+fx) - defaults to jdk
- run: java -cp java HelloWorldApp
```
## Installing custom Java package type
```yaml
steps: