Browse Source

Update Badge.yml

master
Dmitry Nefedov 6 months ago
committed by GitHub
parent
commit
d7c7fc6a36
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      .github/workflows/Badge.yml

7
.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

Loading…
Cancel
Save