@@ -14,7 +14,6 @@ extends:
1414 template : /eng/pipelines/1es-redirect.yml
1515 parameters :
1616 variables :
17- BlobFeedUrl : https://azuresdkartifacts.blob.core.windows.net/azure-sdk-tools/index.json
1817 OfficialBuildId : $(Build.BuildNumber)
1918 nugetMultiFeedWarnLevel : ' none'
2019
@@ -165,34 +164,37 @@ extends:
165164
166165 - ${{if and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['System.TeamProject'], 'internal'))}} :
167166 - stage : Release
168- pool :
169- name : azsdk-pool-mms-ubuntu-2004-general
170- image : azsdk-pool-mms-ubuntu-2004-1espt
171- os : linux
167+ dependsOn :
168+ - Build_and_Test
172169 jobs :
173170 - deployment : Publish
174- environment : net-release
171+ environment : none
175172 variables :
176173 Artifacts : $(System.DefaultWorkingDirectory)/_artifacts/packages
174+
175+ pool :
176+ name : azsdk-pool
177+ image : windows-2022 # Nuget publish requires .NET framework on windows to handle the auth
178+ os : windows
179+
180+ templateContext :
181+ type : releaseJob
182+ isProduction : true
183+ inputs :
184+ - input : pipelineArtifact
185+ artifactName : packages
186+ targetPath : $(Artifacts)
177187
178188 strategy :
179189 runOnce :
180190 deploy :
181191 steps :
182- - task : DownloadPipelineArtifact@2
183- displayName : Download Packages
184- inputs :
185- artifact : packages
186- path : $(Artifacts)
187192 - task : 1ES.PublishNuget@1
188193 displayName : ' Publish to DevOps Feed'
189194 inputs :
190- useDotNetTask : false
191- publishPackageMetadata : true
192195 packageParentPath : ' $(Artifacts)'
193196 packagesToPush : ' $(Artifacts)/*.nupkg;!$(Artifacts)/*.symbols.nupkg'
194- nuGetFeedType : ' internal'
195- publishVstsFeed : ' 29ec6040-b234-4e31-b139-33dc4287b756/fa8c16a3-dbe0-4de2-a297-03065ec1ba3f'
197+ publishVstsFeed : ' public/azure-sdk-for-net'
196198
197199 - stage : ' Update_azure_sdk_for_net'
198200 pool :
0 commit comments