Remove NuGetCommand workaround in YAML (#1762)

This commit is contained in:
Matt Cooley 2022-01-04 08:07:41 -08:00 committed by GitHub
parent 4ebacda62d
commit 370eea92d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,9 +48,7 @@ jobs:
inputs: inputs:
versionSpec: 5.x versionSpec: 5.x
# In most accounts, you can just use 'NuGetCommand' instead of this GUID. - task: NuGetCommand@2
# In the microsoft.visualstudio.com account, NuGetCommand is ambiguous so the GUID is needed.
- task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2
displayName: NuGet restore src/Calculator.sln displayName: NuGet restore src/Calculator.sln
inputs: inputs:
command: custom command: custom
@ -126,4 +124,4 @@ jobs:
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: Detect open source components displayName: Detect open source components
inputs: inputs:
sourceScanPath: $(Agent.BuildDirectory) sourceScanPath: $(Agent.BuildDirectory)