diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eae4efe..2436f3a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -17,10 +17,6 @@ variables: steps: - task: NuGetToolInstaller@1 -- task: NuGetCommand@2 - inputs: - restoreSolution: '$(solution)' - # Run Microsoft Security Utility on Source Repository - task: MicrosoftSecurityDevOps@1 displayName: 'Run Microsoft Security DevOps' @@ -33,6 +29,10 @@ steps: predefinedconfigfile: 'GitleaksUdmCombo.toml' reportformat: 'sarif' +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + - task: VSBuild@1 inputs: solution: '$(solution)'