Browse Source

Update and rename cloc.yml to Badge.yml

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

4
.github/workflows/cloc.yml → .github/workflows/Badge.yml

@ -1,4 +1,4 @@
name: Badges name: Badge
on: on:
push: push:
@ -38,7 +38,7 @@ jobs:
$blank = $JSON.SUM.blank $blank = $JSON.SUM.blank
$comment = $JSON.SUM.comment $comment = $JSON.SUM.comment
$code = $JSON.SUM.code $code = $JSON.SUM.code
$Summary = "("{0:N2}k" -f $($blank + $comment + $code)).replace(",", ".") $Summary = ("{0:N2}k" -f $($blank + $comment + $code)).replace(",", ".")
echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV
Loading…
Cancel
Save