diff --git a/.github/workflows/cloc.yml b/.github/workflows/cloc.yml index 85a18c7c..376be855 100644 --- a/.github/workflows/cloc.yml +++ b/.github/workflows/cloc.yml @@ -35,7 +35,7 @@ jobs: $blank = $JSON.SUM.blank $comment = $JSON.SUM.comment $code = $JSON.SUM.code - $Summary = "$(($($blank + $comment + $code)/1000).ToString("#.#").replace(",", "."))k" + $Summary = "("{0:N2}k" -f $($blank + $comment + $code)).replace(",", ".") echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV