Skip to content

Commit 3749029

Browse files
Reuse proper permissions for build-maven
1 parent 4b5dcf7 commit 3749029

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,15 @@ jobs:
196196
secrets: |
197197
development/kv/data/next url | SONAR_HOST_URL;
198198
development/kv/data/next token | SONAR_TOKEN;
199-
- uses: SonarSource/ci-github-actions/config-maven@v1
199+
- uses: SonarSource/ci-github-actions/build-maven@v1
200200
with:
201201
deploy: false
202202
artifactory-reader-role: private-reader # Override default public-reader
203203
artifactory-deployer-role: qa-deployer # Override default public-deployer
204-
- uses: SonarSource/ci-github-actions/build-maven@v1
205204
env:
206205
SONAR_HOST_URL: ${{ fromJSON(steps.secrets.outputs.vault).SONAR_HOST_URL }}
207206
SONAR_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).SONAR_TOKEN }}
208-
# JAVA_TOOL_OPTIONS: "" # Set an empty value for testing
207+
JAVA_TOOL_OPTIONS: "" # Set an empty value for testing
209208
- name: Build Java Custom Rules Example
210209
env:
211210
SONAR_HOST_URL: ${{ fromJSON(steps.secrets.outputs.vault).SONAR_HOST_URL }}

0 commit comments

Comments
 (0)