From 86825796eae15d4d46919bc6e32f1197196ba1b3 Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Wed, 19 May 2021 23:38:23 +0000 Subject: [PATCH] Use different API key (#2152) * Try publish symbols task for pipeline instead of Microbuild task * Use different API key --- build/azure-pipeline-steps.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/azure-pipeline-steps.yml b/build/azure-pipeline-steps.yml index 6e62f2ae..3504aec5 100644 --- a/build/azure-pipeline-steps.yml +++ b/build/azure-pipeline-steps.yml @@ -94,13 +94,16 @@ steps: SymbolServerType: 'TeamServices' condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'), eq('${{ parameters.OSTarget }}', 'any'), eq(variables['ShouldPublishNuget'], 'True'), eq(variables['SignType'], 'real')) +# If API key expires, you need to generate a new one here: +# https://www.nuget.org/account/apikeys +# You'll need admin permission to associate the key with the Python Tools org - task: NuGetCommand@2 displayName: 'NuGet publish parsing ' inputs: command: push packagesToPush: '$(Build.ArtifactStagingDirectory)/**/Microsoft.Python.Parsing*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' nuGetFeedType: external - publishFeedCredentials: 'rchiodo_nuget' + publishFeedCredentials: 'python_language_server_nuget' condition: and(succeeded(), eq(variables['ShouldPublishNuget'], 'True'), eq('${{ parameters.OSTarget }}', 'any'), notin(variables['Build.Reason'], 'PullRequest')) timeoutInMinutes: 20