File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 95
95
PublishLocation : Container
96
96
ArtifactName : ReleaseConfigs
97
97
98
+ - task : powershell@2
99
+ displayName : Check if SymbolPublishingExclusionsFile.txt exists
100
+ inputs :
101
+ targetType : inline
102
+ script : |
103
+ $symbolExclusionfile = "$(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt"
104
+ if(Test-Path -Path $symbolExclusionfile)
105
+ {
106
+ Write-Host "SymbolExclusionFile exists"
107
+ Write-Host "##vso[task.setvariable variable=SymbolExclusionFile]true"
108
+ }
109
+ else{
110
+ Write-Host "Symbols Exclusion file does not exists"
111
+ }
112
+
113
+ - task : PublishBuildArtifacts@1
114
+ displayName : Publish SymbolPublishingExclusionsFile Artifact
115
+ inputs :
116
+ PathtoPublish : ' $(Build.SourcesDirectory)/eng/SymbolPublishingExclusionsFile.txt'
117
+ PublishLocation : Container
118
+ ArtifactName : ReleaseConfigs
119
+ condition : (variables['SymbolExclusionFile'], 'true')
120
+
98
121
- ${{ if eq(parameters.enablePublishBuildArtifacts, 'true') }} :
99
122
- template : /eng/common/templates/steps/publish-logs.yml
100
123
parameters :
You can’t perform that action at this time.
0 commit comments