Skip to content

Alibaba Dragonwell11 Actions Support

lvfei.lv edited this page Sep 21, 2023 · 2 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: '11'
- 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: '11.0.18'
- run: java -version

The result of the above code image