From 9d95cd301623af764c69e2589fb5a739233bc4e7 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Wed, 5 Feb 2025 21:21:42 +0300 Subject: [PATCH] Update Badge_lines.yml --- .github/workflows/Badge_lines.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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