Merge pull request #6360 from litetex/used-adoptopenjdk-instead-of-zulu

Use AdoptOpenJDK instead of Zulu in GitHub actions
This commit is contained in:
XiangRongLin 2021-05-26 17:42:04 +02:00 committed by GitHub
commit 4b27aec196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ jobs:
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: 8 java-version: 8
distribution: "zulu" distribution: "adopt"
- name: Cache Gradle dependencies - name: Cache Gradle dependencies
uses: actions/cache@v2 uses: actions/cache@v2
@ -54,7 +54,7 @@ jobs:
uses: actions/setup-java@v2 uses: actions/setup-java@v2
with: with:
java-version: 8 java-version: 8
distribution: "zulu" distribution: "adopt"
- name: Cache Gradle dependencies - name: Cache Gradle dependencies
uses: actions/cache@v2 uses: actions/cache@v2
@ -79,7 +79,7 @@ jobs:
# uses: actions/setup-java@v2 # uses: actions/setup-java@v2
# with: # with:
# java-version: 11 # Sonar requires JDK 11 # java-version: 11 # Sonar requires JDK 11
# distribution: "zulu" # distribution: "adopt"
# - name: Cache SonarCloud packages # - name: Cache SonarCloud packages
# uses: actions/cache@v2 # uses: actions/cache@v2