Skip to content

Commit fe27430

Browse files
author
James Brundage
committed
feat: Adding PipeScript Factor to Build Summary ( Fixes #914 )
Not using spans, using a blockquote
1 parent e9d3b94 commit fe27430

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Commands/PipeScript/Export-PipeScript.ps1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,8 @@ function Export-Pipescript {
484484
$pipeScriptFactor = [Math]::round([double]$TotalOutputFileLength/[double]$TotalInputFileLength,4)
485485

486486
if ($env:GITHUB_STEP_SUMMARY) {
487-
@(
488-
"<span style='font-size:1em'>$kbIn</span> generated <span style='font-size:$($pipeScriptFactor/ 2)em'>"
489-
"<span style='font-size:$($pipeScriptFactor)em'>PipeScript Factor : $pipeScriptFactor</span>"
490-
) | Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
487+
"> ${kbIn}kb Input, ${kbOut}kb : PipeScript Factor: $pipeScriptFactor" |
488+
Out-File -Append -FilePath $env:GITHUB_STEP_SUMMARY
491489
}
492490

493491
"$([Math]::Round($TotalInputFileLength / 1kb)) kb input"

0 commit comments

Comments
 (0)