diff --git a/.github/workflows/Badge_lines.yml b/.github/workflows/Badge_lines.yml index 970072df..e59af84f 100644 --- a/.github/workflows/Badge_lines.yml +++ b/.github/workflows/Badge_lines.yml @@ -18,13 +18,13 @@ jobs: - name: Checkout Repository uses: actions/checkout@main - - name: Get the Numbers + - name: Get Sophia_Script_for_Windows_11 folder lines number run: | - $a = 0 - Get-ChildItem -Path src -File -Recurse | ForEach-Object -Process { - $a += ((Get-Content -Path $_.FullName).Count | Measure-Object -Sum).Sum + $Summary = 0 + Get-ChildItem -Path src\Sophia_Script_for_Windows_11 -File -Recurse | ForEach-Object -Process { + $Summary += ((Get-Content -Path $_.FullName).Count | Measure-Object -Sum).Sum } - $Summary = "{0:N1}k" -f ($a/1000) + $Summary = "{0:N1}k" -f ($Summary/1000) Write-Verbose -Message $Summary -Verbose