Skip to content

Commit 039e8b9

Browse files
committed
remove -recurse
1 parent c05278f commit 039e8b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/ci_build/github/windows/bundle_dml_package.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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)" }
3537
if ($nupkgFiles.Count -ne 1) {
3638
Write-Error "Error: Expected to find exactly one non-managed NuGet package, but found $($nupkgFiles.Count)."
3739
exit 1

0 commit comments

Comments
 (0)