diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ec4806b6..427da7391 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,11 @@ jobs: if: github.event_name == 'pull_request' run: git checkout -B ${{ github.head_ref }} - - name: set up JDK 1.8 - uses: actions/setup-java@v1.4.3 + - name: set up JDK 8 + uses: actions/setup-java@v2 with: - java-version: 1.8 + java-version: 8 + distribution: "zulu" - name: Cache Gradle dependencies uses: actions/cache@v2 @@ -49,10 +50,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: set up JDK 1.8 - uses: actions/setup-java@v1.4.3 + - name: set up JDK 8 + uses: actions/setup-java@v2 with: - java-version: 1.8 + java-version: 8 + distribution: "zulu" - name: Cache Gradle dependencies uses: actions/cache@v2 @@ -74,9 +76,10 @@ jobs: # fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis # - name: Set up JDK 11 -# uses: actions/setup-java@v1.4.3 +# uses: actions/setup-java@v2 # with: # java-version: 11 # Sonar requires JDK 11 +# distribution: "zulu" # - name: Cache SonarCloud packages # uses: actions/cache@v2