feat: add support for SapMachine JDK/JRE

Co-authored-by: Christian Schwaninger <christian.schwaninger@sap.com>
This commit is contained in:
Tobias Gabriel 2024-03-27 15:12:00 +01:00
parent 99b8673ff6
commit 87eb586f32
9 changed files with 88074 additions and 9 deletions

View file

@ -8,6 +8,7 @@
- [Amazon Corretto](#Amazon-Corretto)
- [Oracle](#Oracle)
- [Alibaba Dragonwell](#Alibaba-Dragonwell)
- [SapMachine](#SapMachine)
- [Installing custom Java package type](#Installing-custom-Java-package-type)
- [Installing custom Java architecture](#Installing-custom-Java-architecture)
- [Installing custom Java distribution from local file](#Installing-Java-from-local-file)
@ -142,6 +143,18 @@ steps:
- run: java -cp java HelloWorldApp
```
### SapMachine
**NOTE:** An OpenJDK release maintained and supported by SAP
```yaml
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'sapmachine'
java-version: '21'
- run: java -cp java HelloWorldApp
```
## Installing custom Java package type
```yaml
steps: