我正在运行 Azure DevOps 管道,但收到以下错误。
error: Unable to load the service index for source https://pkgs.dev.azure.com/companyName/_packaging/12345678-1234-1234-1234-1234567890ab/nuget/v3/index.json.
error: Response status code does not indicate success: 403 (Forbidden - User '12345678-1234-1234-1234-1234567890ab' lacks permission to complete this action. You need to have 'ReadPackages'. (DevOps Activity ID: 12345678-1234-1234-1234-1234567890ab)).
Run Code Online (Sandbox Code Playgroud)
我从 yaml 如下所示的任务中收到错误。
steps:
- task: DotNetCoreCLI@2
displayName: 'Push the created package to Nuget feed. '
inputs:
command: push
publishVstsFeed: '12345678-1234-1234-1234-1234567890ab'
versioningScheme: byPrereleaseNumber
Run Code Online (Sandbox Code Playgroud)
有什么想法要做什么吗?