Skip to content

Alibaba Dragonwell8 Actions Support

lvfei.lv edited this page Sep 21, 2023 · 3 revisions

Repositories

https://github.com/actions/setup-java

Usage

Alibaba Dragonwell Usage

NOTE: Alibaba Dragonwell only provides jdk.

java-version is defined as major version

Then the latest version of dragonwell of the major version will be obtained.

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
  with:
    distribution: 'dragonwell'
    java-version: '8'
- run: java -version

The result of the above code image

java-version is defined as a specific version number

Then the corresponding version of dragonwell will be obtained.

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
  with:
    distribution: 'dragonwell'
    java-version: '8.13.14'
- run: java -version

The result of the above code image