Browse Source

Update Badge.yml

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

3
.github/workflows/Badge.yml

@ -38,10 +38,11 @@ jobs:
$blank = $JSON.SUM.blank
$comment = $JSON.SUM.comment
$code = $JSON.SUM.code
write-host $($blank + $comment + $code)
# "$((($blank + $comment + $code)/1000).ToString("#.#").replace(",", "."))k"
$Summary = ("{0:N1}k" -f (($blank + $comment + $code)/1000)).replace(",", ".")
Write-Verbose -Message ($blank + $comment + $code) -Verbose
echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV
- name: Writing to Gist

Loading…
Cancel
Save