From 0b22b9d310fd3f8e6160f5029c18b1af13679f28 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 19 Sep 2023 16:07:15 +0200 Subject: [PATCH] add minor fix --- .github/workflows/build-tool-packages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-tool-packages.yml b/.github/workflows/build-tool-packages.yml index 8f34c09..27810ae 100644 --- a/.github/workflows/build-tool-packages.yml +++ b/.github/workflows/build-tool-packages.yml @@ -165,7 +165,8 @@ jobs: - name: Generate hash for packages run: | - Get-Childitem -Path '.' | Foreach-Object { + $childItems = Get-Childitem -Path '.' + $childItems | Foreach-Object { $packageObj = Get-Childitem -Path $_.FullName | Select-Object -First 1 Write-Host "Package: $($packageObj.Name)" $actualHash = (Get-FileHash -Path $packageObj.FullName -Algorithm sha256).Hash