Skip to content

Commit a443d46

Browse files
committed
Ensure newlines when appending to sonar properties
1 parent 0cc9dab commit a443d46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/bld.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Add Sonar jdkHome
4848
if: success() && matrix.java-version == env.COVERAGE_JDK && matrix.os == 'ubuntu-latest'
49-
run: echo sonar.java.jdkHome=${{ env.JAVA_HOME }} >> sonar-project.properties
49+
run: printf "\nsonar.java.jdkHome=${{ env.JAVA_HOME }}\n" >> sonar-project.properties
5050

5151
- name: SonarCloud Scan
5252
uses: SonarSource/sonarqube-scan-action@v7.0.0

0 commit comments

Comments
 (0)