File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,6 @@ stages:
119
119
steps :
120
120
- download : current
121
121
artifact : release
122
- patterns : ' x*.zip'
123
122
124
123
- pwsh : |
125
124
Write-Verbose -Verbose "Enumerating "$(Pipeline.Workspace)/release"
@@ -129,7 +128,7 @@ stages:
129
128
$expandedRoot = New-Item -Path "$(Pipeline.Workspace)/expanded" -ItemType Directory -Verbose
130
129
$symbolsRoot = New-Item -Path "$(Pipeline.Workspace)/symbols" -ItemType Directory -Verbose
131
130
132
- $downloadedArtifacts | Where-Object { $_.Extension -eq ' zip' } | ForEach-Object {
131
+ $downloadedArtifacts | Where-Object { $_.Name -like 'x*-symbols. zip'} | ForEach-Object {
133
132
$destFolder = New-Item -Path "$expandedRoot/$($_.BaseName)/" -ItemType Directory -Verbose
134
133
Expand-Archive -Path $_.FullName -DestinationPath $destFolder -Force
135
134
@@ -139,7 +138,7 @@ stages:
139
138
}
140
139
}
141
140
142
- Write-Verbose -Verbose "Enumerating " $symbolsRoot"
141
+ Write-Verbose -Verbose "Enumerating $symbolsRoot"
143
142
Get-ChildItem -Path $symbolsRoot -Recurse
144
143
145
144
$vstsCommandString = "vso[task.setvariable variable=SymbolsPath]$symbolsRoot"
You can’t perform that action at this time.
0 commit comments