From cf8697039de7f8379628f762929d4ea6661d2da5 Mon Sep 17 00:00:00 2001 From: Olivier Duhart Date: Thu, 31 Oct 2024 14:44:33 +0100 Subject: [PATCH] #19 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7e25ca8..293a1ee 100644 --- a/index.js +++ b/index.js @@ -96,7 +96,7 @@ try { /****************************************/ - let msbuild = `-p:coverletOutput=${output} -p:CollectCoverage=true -p:CoverletOutputFormat=${outputFormat}`; + let msbuild = `-p:coverletOutput= ${GITHUB_WORKSPACE}/TestResults/${output} -p:CollectCoverage=true -p:MergeWith=${GITHUB_WORKSPACE}/TestResults/coverlet.json -p:CoverletOutputFormat=\\"json%2c${outputFormat}\\"`; if (excludestring !== null && excludestring !== undefined) { msbuild += ` -p:Exclude=\\"${excludestring}\\"`; }