Dmitry Nefedov
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
2 deletions
-
.github/workflows/Badge.yml
|
@ -20,8 +20,11 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Get the Numbers |
|
|
- name: Get the Numbers |
|
|
run: | |
|
|
run: | |
|
|
$Summary = ((Get-Content -Path "src\Sophia_Script_for_Windows_11\Module\Sophia.psm1").Count | Measure-Object -Sum).Sum |
|
|
$a = 0 |
|
|
$Summary = "{0:N1}k" -f ($Summary/1000) |
|
|
Get-ChildItem -Path src -File -Recurse | ForEach-Object -Process { |
|
|
|
|
|
$a += ((Get-Content -Path $_.FullName).Count | Measure-Object -Sum).Sum |
|
|
|
|
|
} |
|
|
|
|
|
$Summary = "{0:N1}k" -f ($a/1000) |
|
|
|
|
|
|
|
|
Write-Verbose -Message $Summary -Verbose |
|
|
Write-Verbose -Message $Summary -Verbose |
|
|
|
|
|
|
|
|