You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ad...@apache.org on 2021/01/14 14:33:25 UTC

[ozone] 01/02: HDDS-4698. Upgrade Java for Sonar check

This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch HDDS-4698
in repository https://gitbox.apache.org/repos/asf/ozone.git

commit 620c741bf1766d108f9b088475e945af9a5d9ea8
Author: Doroszlai, Attila <ad...@apache.org>
AuthorDate: Thu Jan 14 15:26:17 2021 +0100

    HDDS-4698. Upgrade Java for Sonar check
---
 .github/workflows/post-commit.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 14a6951..ca9a202 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -272,11 +272,14 @@ jobs:
           path: target/artifacts
       - name: Calculate combined coverage
         run: ./hadoop-ozone/dev-support/checks/coverage.sh
-      - name: Upload coverage to Sonar
-        uses: ./.github/buildenv
+      - name: Setup java 11
+        uses: actions/setup-java@v1
         if: github.repository == 'apache/ozone' && github.event_name != 'pull_request'
         with:
-          args: ./hadoop-ozone/dev-support/checks/sonar.sh
+          java-version: 11
+      - name: Upload coverage to Sonar
+        run: ./hadoop-ozone/dev-support/checks/sonar.sh
+        if: github.repository == 'apache/ozone' && github.event_name != 'pull_request'
         env:
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org