diff --git a/.github/workflows/build-and-check.yml b/.github/workflows/build-and-check.yml index ea5d8f8..19994ef 100644 --- a/.github/workflows/build-and-check.yml +++ b/.github/workflows/build-and-check.yml @@ -49,7 +49,7 @@ jobs: - name: Check Solutions run: | - Get-ChildItem -Recurse -Filter "**/bin/Release/*.zip" | - ForEach-Object { - pac solution check --path $_.FullName - } \ No newline at end of file + Get-ChildItem -Path '.' -Directory -Recurse | + Where-Object { $_.FullName.EndsWith('bin\Release') } | + ForEach-Object { Get-ChildItem -Path (Join-Path $_.FullName '*.zip') | + ForEach-Object { pac solution check --path $_.FullName } } \ No newline at end of file