Skip to content

Commit 0a22762

Browse files
committed
Remove deprecated set-output in GitHub workflow for SonarCloud
part of #307 Signed-off-by: Aurélien Pupier <[email protected]>
1 parent 59c3573 commit 0a22762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonarcloud-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
- name: Set Common Sonar Variables
5353
id: sonar_env
5454
run: |
55-
echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \
55+
echo "sonar_opts=-Dsonar.host.url=https://sonarcloud.io \
5656
-Dsonar.projectKey=com-pas_compas-scl-data-service \
57-
-Dsonar.organization=com-pas )"
57+
-Dsonar.organization=com-pas \" >> $GITHUB_OUTPUT
5858
- name: Create custom Maven Settings.xml
5959
uses: whelk-io/maven-settings-xml-action@v21
6060
with:

0 commit comments

Comments
 (0)