Browse Source

Update Badge.yml

pull/385/head
Dmitry Nefedov 2 years ago
committed by GitHub
parent
commit
6ab0e9cdf8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      .github/workflows/Badge.yml

3
.github/workflows/Badge.yml

@ -39,7 +39,8 @@ jobs:
$comment = $JSON.SUM.comment
$code = $JSON.SUM.code
write-host $($blank + $comment + $code)
$Summary = ("{0:N1}k" -f ($blank + $comment + $code)).replace(",", ".")
# "$((($blank + $comment + $code)/1000).ToString("#.#").replace(",", "."))k"
$Summary = ("{0:N1}k" -f (($blank + $comment + $code)/1000)).replace(",", ".")
echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV

Loading…
Cancel
Save