File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -192,22 +192,24 @@ extends:
192192 dependsOn : build
193193 jobs :
194194 - deployment : deploy
195+ templateContext :
196+ type : releaseJob
197+ isProduction : true
198+ inputs :
199+ - input : pipelineArtifact
200+ artifactName : Nugets
201+ targetPath : ' $(Pipeline.Workspace)'
195202 environment : nuget-org
196203 strategy :
197204 runOnce :
198205 deploy :
199206 pool :
200207 vmImage : ubuntu-latest
201208 steps :
202- - task : DownloadPipelineArtifact@2
203- displayName : Download nupkg from artifacts
204- inputs :
205- artifact : Nugets
206- source : current
207209 - task : 1ES.PublishNuget@1
208210 displayName : ' NuGet push'
209211 inputs :
210- packagesToPush : ' $(Pipeline.Workspace)/Nugets/ Microsoft.OpenApi.OData.*.nupkg'
212+ packagesToPush : ' $(Pipeline.Workspace)/Microsoft.OpenApi.OData.*.nupkg'
211213 nuGetFeedType : external
212214 publishFeedCredentials : ' OpenAPI Nuget Connection'
213215 packageParentPath : ' $(Pipeline.Workspace)'
You can’t perform that action at this time.
0 commit comments