File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
tools/ci_build/github/windows Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -29,9 +29,11 @@ Write-Host "Extracting $arm64ZipFile to $arm64ExtractPath..."
2929
3030# 2. Find the target NuGet package.
3131# It finds all .nupkg files that do not contain "Managed" in their name.
32- $nupkgFiles = Get-ChildItem - Path . - Recurse - Filter * .nupkg | Where-Object { ($_.Name -notlike " *Managed*" ) -and ($_.Name -notlike " *.symbols.nupkg" ) }
32+ $nupkgFiles = Get-ChildItem - Path . - Filter * .nupkg | Where-Object { ($_.Name -notlike " *Managed*" ) -and ($_.Name -notlike " *.symbols.nupkg" ) }
3333
3434# 3. Validate that exactly one package was found.
35+ Write-Host " Found $ ( $nupkgFiles.Count ) non-managed nupkg file(s):"
36+ $nupkgFiles | ForEach-Object { Write-Host " - $ ( $_.FullName ) " }
3537if ($nupkgFiles.Count -ne 1 ) {
3638 Write-Error " Error: Expected to find exactly one non-managed NuGet package, but found $ ( $nupkgFiles.Count ) ."
3739 exit 1
You can’t perform that action at this time.
0 commit comments