diff --git a/.ci/ci_release.yml b/.ci/ci_release.yml index 343e2b8f8..a50e7e9f0 100644 --- a/.ci/ci_release.yml +++ b/.ci/ci_release.yml @@ -235,12 +235,6 @@ stages: $vstsCommandString = "vso[task.setvariable variable=signOutPathCreated]${signOutPath}" Write-Host "sending " + $vstsCommandString Write-Host "##$vstsCommandString" - - # Upload symbol pdb file - $moduleName = "$($config.ModuleName)" - $symbolFileName = "$moduleName.pdb" - $symbolFilePath = Join-Path -Path $srcPath -ChildPath $symbolFileName - Write-Host "##vso[artifact.upload containerfolder=$moduleName;artifactname=$symbolFileName]$symbolFilePath" displayName: Set up for module created files code signing condition: and(and(succeeded(), eq(variables['Build.Reason'], 'Manual')), ne(variables['SkipSigning'], 'True')) @@ -413,12 +407,6 @@ stages: displayName: PowerShell Core on macOS imageName: macOS-latest -- stage: PublishSymbols - displayName: Publish Symbols - condition: and(and(succeeded(), eq(variables['Build.Reason'], 'Manual')), eq(variables['Publish'], 'True')) - jobs: - - template: publishsymbols.yml - - stage: Release displayName: Publish Package to PSGallery condition: and(and(succeeded(), eq(variables['Build.Reason'], 'Manual')), eq(variables['Publish'], 'True')) diff --git a/.ci/publishsymbols.yml b/.ci/publishsymbols.yml deleted file mode 100644 index 38162284f..000000000 --- a/.ci/publishsymbols.yml +++ /dev/null @@ -1,27 +0,0 @@ -steps: -- task: DownloadPipelineArtifact@2 - displayName: 'Download and publish symbols' - inputs: - artifact: $(Pipeline.Workspace)\Microsoft.PowerShell.PSResourceGet\Microsoft.PowerShell.PSResourceGet.pdb - path: '$(Pipeline.Workspace)\Microsoft.PowerShell.PSResourceGet' - -- pwsh: | - Write-Verbose -Verbose "Enumerating $(Pipeline.Workspace)\Microsoft.PowerShell.PSResourceGet" - $symbolsRoot = New-Item -Path "$(Pipeline.Workspace)/symbols" -ItemType Directory -Verbose - Copy-Item -Path "$(Pipeline.Workspace)\Microsoft.PowerShell.PSResourceGet\Microsoft.PowerShell.PSResourceGet.pdb" -Destination $symbolsRoot - - Write-Verbose -Verbose "Enumerating $symbolsRoot" - Get-ChildItem -Path $symbolsRoot -Recurse - $vstsCommandString = "vso[task.setvariable variable=SymbolsPath]$symbolsRoot" - Write-Verbose -Message "$vstsCommandString" -Verbose - Write-Host -Object "##$vstsCommandString" - displayName: Copy symbol file - -- task: PublishSymbols@2 - inputs: - symbolsFolder: '$(SymbolsPath)' - searchPattern: '*.pdb' - indexSources: false - publishSymbols: true - symbolServerType: teamServices - detailedLog: true