File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 6161 $compressedFile = "$(ob_outputDirectory)/$platform.zip"
6262 Compress-Archive -Path "$(Pipeline.Workspace)/$platform/*" -DestinationPath $compressedFile -Force
6363 $DestPath = Join-Path $symbolsRoot $platform
64+ New-Item -Path $DestPath -ItemType Directory -Force | Out-Null
6465 Get-ChildItem -Path "$(Pipeline.Workspace)/$platform/*.pdb" -Recurse | ForEach-Object {
6566 Copy-Item -Path $_.FullName -Destination $DestPath -Force -Verbose
6667 }
8788 Get-ChildItem -Path "$(ob_outputDirectory)" -Recurse
8889 displayName: 'Build NuPkg'
8990
91+ - pwsh : |
92+ Get-ChildItem -Path "$(ob_outputDirectory)\NugetPackage" -Recurse | ForEach-Object {
93+ $file = $_
94+ Write-Verbose -Message "Found NuGet package: $($file.FullName)" -Verbose
95+ }
96+
97+ Get-ChildItem -Path "$(SymbolsPath)" -Recurse | ForEach-Object {
98+ $file = $_
99+ Write-Host "##vso[artifact.upload artifactname=NuGetPackages;]$($file.FullName)"
100+ }
101+
90102 - task : PublishSymbols@2
91103 inputs :
92104 symbolsFolder : ' $(SymbolsPath)'
You can’t perform that action at this time.
0 commit comments