Use different API key (#2152)
* Try publish symbols task for pipeline instead of Microbuild task * Use different API key
This commit is contained in:
Родитель
8c012acce6
Коммит
86825796ea
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче