File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 94
94
targetType : inline
95
95
script : |
96
96
$azPackagesDir = New-Item -Name AzPreviewPackages -Path $(DataLocation) -ItemType Directory -Force
97
- $azPackagesFiles = Join-Path -Path $(Pipeline.Workspace) -ChildPath *.nupkg
97
+ $azPackagesFiles = Get-ChildItem -Path " $(Pipeline.Workspace)" -Recurse -Filter " *.nupkg"
98
98
Move-Item -Path $azPackagesFiles -Destination $azPackagesDir
99
99
Get-ChildItem -LiteralPath $azPackagesDir
100
100
Original file line number Diff line number Diff line change 76
76
targetType : ' inline'
77
77
script : |
78
78
New-Item -Path "$(Pipeline.Workspace)" -Name "LocalRepo" -ItemType "directory"
79
- Get-ChildItem -Path "$(Pipeline.Workspace)" -Recurse -Filter "*.nupkg" | ForEach-Object { Copy-Item -Path $_.FullName -Destination "$(Pipeline.Workspace)\LocalRepo\" -Force }
79
+ $fileList = Get-ChildItem -Path "$(Pipeline.Workspace)" -Recurse -Filter "*.nupkg"
80
+ $fileList | ForEach-Object { Copy-Item -Path $_.FullName -Destination "$(Pipeline.Workspace)\LocalRepo\" -Force }
80
81
Write-Host "List artifacts..."
81
82
Get-ChildItem "$(Pipeline.Workspace)\\LocalRepo\\"
82
83
You can’t perform that action at this time.
0 commit comments