File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ function Publish-ToCheckRun {
326326 status = ' completed'
327327 conclusion = $outcome
328328 output = @ {
329- title = " Coverage $coveragePercentage "
329+ title = " Code Coverage $coveragePercentage "
330330 summary = " This run completed at `` $ ( [datetime ]::Now) `` "
331331 text = $ReportData
332332 }
@@ -359,6 +359,8 @@ if ($inputs.skip_check_run -ne $true -and $inputs.publish_only_summary -eq $true
359359
360360 Set-Outcome
361361
362+ Set-Output
363+
362364 $coverageSummaryData = [System.IO.File ]::ReadAllText($script :coverage_report_path )
363365
364366 Publish-ToCheckRun - ReportData $coverageSummaryData - ReportName " Code Coverage" - ReportTitle $script :coverage_report_title - outcome $Script :status - coveragePercentage $script :coveragePercentageString
@@ -380,6 +382,8 @@ elseif ($inputs.skip_check_run -ne $true -and $inputs.publish_only_summary -ne $
380382
381383 Set-Outcome
382384
385+ Set-Output
386+
383387 $coverageSummaryData = [System.IO.File ]::ReadAllText($script :coverage_report_path )
384388
385389 Publish-ToCheckRun - ReportData $coverageSummaryData - ReportName " Code Coverage" - ReportTitle $script :coverage_report_title - outcome $script :status - coveragePercentage $script :coveragePercentageString
@@ -403,6 +407,8 @@ elseif ($inputs.skip_check_run -eq $true -and $inputs.publish_only_summary -eq $
403407
404408 Set-Outcome
405409
410+ Set-Output
411+
406412 # $coverageSummary = [System.IO.File]::ReadAllText($script:coverage_summary_path)
407413
408414 Enforce- QualityGate
@@ -419,6 +425,8 @@ else {
419425
420426 Set-Outcome
421427
428+ Set-Output
429+
422430 # $coverageSummary = [System.IO.File]::ReadAllText($script:coverage_summary_path)
423431
424432 Enforce- QualityGate
You can’t perform that action at this time.
0 commit comments