mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Publish Build Symbols for DML nightly nuget package (#20988)
### Description Publish Build Symbols for DML nightly nuget package.
This commit is contained in:
parent
dc545d366d
commit
ae4a2e6b3f
1 changed files with 8 additions and 9 deletions
|
|
@ -228,15 +228,14 @@ stages:
|
|||
artifactName: ${{ parameters.ArtifactName }}
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)'
|
||||
|
||||
- ${{ if eq(parameters['IsReleaseBuild'], 'true') }}:
|
||||
- task: PublishSymbols@2
|
||||
displayName: 'Publish Build Symbols'
|
||||
inputs:
|
||||
symbolsFolder: '$(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo'
|
||||
searchPattern: '**/*.pdb'
|
||||
symbolServerType: teamServices
|
||||
|
||||
|
||||
- task: PublishSymbols@2
|
||||
displayName: 'Publish Build Symbols'
|
||||
condition: and (succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/rel-')))
|
||||
inputs:
|
||||
SymbolsFolder: '$(Build.BinariesDirectory)\RelWithDebInfo\RelWithDebInfo'
|
||||
SearchPattern: 'onnxruntime.pdb'
|
||||
SymbolServerType: teamServices
|
||||
SymbolExpirationInDays: 365
|
||||
|
||||
# Node.js Publish
|
||||
- ${{ if eq(parameters['DoNodejsPack'], 'true') }}:
|
||||
|
|
|
|||
Loading…
Reference in a new issue