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

panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new fedea868b7a Try to optimize sonar github action (#25546)
fedea868b7a is described below

commit fedea868b7ac040a5ed1de7cf88a577d73622f4b
Author: Liang Zhang <[email protected]>
AuthorDate: Wed May 10 11:22:59 2023 +0800

    Try to optimize sonar github action (#25546)
---
 .github/workflows/check-sonarcloud.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/check-sonarcloud.yml 
b/.github/workflows/check-sonarcloud.yml
index 28ec63adc13..b47d7eb99ec 100644
--- a/.github/workflows/check-sonarcloud.yml
+++ b/.github/workflows/check-sonarcloud.yml
@@ -62,4 +62,5 @@ jobs:
       - name: Analyze
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        run: ./mvnw -B verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_shardingsphere -Dsonar.login=${{ 
secrets.SONARCLOUD_TOKEN }} -Dmaven.javadoc.skip=true -Drat.skip=true 
-Djacoco.skip=true -DskipTests
+          SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
+        run: ./mvnw -B verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_shardingsphere -Dmaven.javadoc.skip=true 
-Drat.skip=true -Djacoco.skip=true -DskipTests

Reply via email to