Skip to content

Commit

Permalink
[ci] Install credential provider when signing (dotnet#5967)
Browse files Browse the repository at this point in the history
Context:  https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=4803805&view=logs&j=3ce66085-846b-53dd-5323-3e00eb12b9a6&t=c7de918a-2762-5750-800e-a440a28cd7e6

We've been seeing some .NET 6 .msi signing attempts fail when installing
the MicroBuild signing tooling with the following:

    ##[error]The path 'Microsoft.NuGet.CredentialProvider.zip' either does not exist or is not a valid file system path.

Installing the NuGet credential provider will hopefully address this.
  • Loading branch information
pjcollins authored May 28, 2021
1 parent 9add575 commit 339b79c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ parameters:
condition: succeeded()

steps:
- task: NuGetAuthenticate@0
displayName: authenticate with azure artifacts
inputs:
forceReinstallCredentialProvider: true
condition: ${{ parameters.condition }}

# ESRP signing requires minimum azure client version 2.8.0
- template: azure-tools/az-client-update.yml@yaml
parameters:
Expand Down

0 comments on commit 339b79c

Please sign in to comment.