Skip to content

Commit 3a44aab

Browse files
Reduce profiles to coverage only
1 parent 0f5998b commit 3a44aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
SONAR_HOST_URL: ${{ fromJSON(steps.secrets.outputs.vault).SONAR_HOST_URL }}
201201
SONAR_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SONAR_TOKEN }}
202202
run: |
203-
PULL_REQUEST_SHA=$GIT_SHA1 mvn clean verify sonar:sonar --batch-mode -P-deploy-sonarsource,-release,-sign -Dmaven.deploy.skip=true
203+
PULL_REQUEST_SHA=$GIT_SHA1 mvn clean verify sonar:sonar --batch-mode --activate-profiles coverage -Dmaven.deploy.skip=true
204204
- name: Build Java Custom Rules Example
205205
env:
206206
SONAR_HOST_URL: ${{ fromJSON(steps.secrets.outputs.vault).SONAR_HOST_URL }}

0 commit comments

Comments
 (0)