Skip to content

Commit fd5d6ca

Browse files
Merge pull request #317 from com-pas/fixes/311-github-actions-set-output-command-is-deprecated-take-place-in-sonarcloud-analysis
fix deprecating set-output command in sonarcloud-analysis manifests yaml
2 parents 985b66e + 541b5a3 commit fd5d6ca

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
@@ -71,9 +71,9 @@ jobs:
7171
- name: Set Common Sonar Variables
7272
id: sonar_env
7373
run: |
74-
echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \
74+
echo "sonar_opts=-Dsonar.host.url=https://sonarcloud.io \
7575
-Dsonar.projectKey=com-pas_compas-sct \
76-
-Dsonar.organization=com-pas )"
76+
-Dsonar.organization=com-pas" >> $GITHUB_OUTPUT
7777
- name: Create custom Maven Settings.xml
7878
uses: whelk-io/maven-settings-xml-action@v21
7979
with:

0 commit comments

Comments
 (0)