You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/04/27 03:06:36 UTC
[shardingsphere] branch master updated: Refactor : refactor the sonarcloud build command (#25344)
This is an automated email from the ASF dual-hosted git repository.
zhaojinchao 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 5711b4b607f Refactor : refactor the sonarcloud build command (#25344)
5711b4b607f is described below
commit 5711b4b607f1a2c81a99831f239425e16efc6f25
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Thu Apr 27 11:06:28 2023 +0800
Refactor : refactor the sonarcloud build command (#25344)
Co-authored-by: shardingsphere <de...@shardingsphere.apache.org>
---
.github/workflows/check-sonarcloud.yml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/check-sonarcloud.yml b/.github/workflows/check-sonarcloud.yml
index 9b871a05e22..ebedda71327 100644
--- a/.github/workflows/check-sonarcloud.yml
+++ b/.github/workflows/check-sonarcloud.yml
@@ -25,9 +25,6 @@ concurrency:
group: ${{ github.event_name }}-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
-env:
- MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dcheckstyle.skip=true -Dspotless.apply.skip=true -Dmaven.javadoc.skip=true -Djacoco.skip=true
-
jobs:
build:
name: Build and analyze
@@ -40,7 +37,7 @@ jobs:
uses: actions/setup-java@v3
with:
java-version: 11
- distribution: 'zulu' # Alternative distribution options are available.
+ distribution: 'zulu'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
@@ -54,7 +51,7 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build dependencies
- run: ./mvnw clean install -Dmaven.javadoc.skip=true -B -Drat.skip=true -Djacoco.skip=true -Dmaven.test.skip=true -T1C
+ run: ./mvnw -B clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true -Dspotless.apply.skip=true
- name: Build and analyze
env:
MAVEN_OPTS: "-XX:+UseG1GC -XX:InitialHeapSize=2g -XX:MaxHeapSize=6g -XX:+UseStringDeduplication"