Dmitry Nefedov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
.github/workflows/Badge.yml
|
@ -38,10 +38,11 @@ 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 |
|
|
write-host $($blank + $comment + $code) |
|
|
|
|
|
# "$((($blank + $comment + $code)/1000).ToString("#.#").replace(",", "."))k" |
|
|
# "$((($blank + $comment + $code)/1000).ToString("#.#").replace(",", "."))k" |
|
|
$Summary = ("{0:N1}k" -f (($blank + $comment + $code)/1000)).replace(",", ".") |
|
|
$Summary = ("{0:N1}k" -f (($blank + $comment + $code)/1000)).replace(",", ".") |
|
|
|
|
|
|
|
|
|
|
|
Write-Verbose -Message ($blank + $comment + $code) -Verbose |
|
|
|
|
|
|
|
|
echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV |
|
|
echo "CODE_LINES=$Summary" >> $env:GITHUB_ENV |
|
|
|
|
|
|
|
|
- name: Writing to Gist |
|
|
- name: Writing to Gist |
|
|