Skip to content

Commit ad7915f

Browse files
committed
Fix analysis / coverage report upload
1 parent 8c5e3a5 commit ad7915f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/semver-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,10 @@ jobs:
143143
uses: actions/download-artifact@v4
144144
with:
145145
name: coverage-report
146-
path: build/reports/kover
147146
- name: Download analysis report
148147
uses: actions/download-artifact@v4
149148
with:
150149
name: analysis-report
151-
path: build/reports/detekt
152150
- name: Upload reports to SonarCloud
153151
run: ./gradlew sonar --stacktrace
154152
shell: bash

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ sonarqube {
175175
property("sonar.host.url", "https://sonarcloud.io")
176176
property("sonar.sources", "src/commonMain/kotlin/io/github/z4kn4fein/semver")
177177
property("sonar.tests", "src/commonTest/kotlin/io/github/z4kn4fein/semver")
178-
property("sonar.kotlin.detekt.reportPaths", layout.buildDirectory.file("build/reports/detekt/detekt.xml"))
179-
property("sonar.coverage.jacoco.xmlReportPaths", layout.buildDirectory.file("build/reports/kover/report.xml"))
178+
property("sonar.kotlin.detekt.reportPaths", "detekt.xml")
179+
property("sonar.coverage.jacoco.xmlReportPaths", "report.xml")
180180
}
181181
}
182182

0 commit comments

Comments
 (0)