File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ variables:
3737 Codeql.ExcludePathPatterns : packages
3838 VC_PATH : ' C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC'
3939 VS_GENERATOR : ' Visual Studio 17 2022'
40- URL_FEED : $(ADOFeedURL)
41- skipNugetSecurityAnalysis : true # We explicitly call this task so we don't need it to be auto-injected
4240
4341pool :
4442 vmImage : windows-2022
5250 - checkout : self
5351 clean : true
5452 fetchTags : false
55- - task : PowerShell@2
56- displayName : ' Create nuget.config with single source'
57- inputs :
58- targetType : inline
59- script : |
60- $xml = @'
61- <?xml version="1.0" encoding="utf-8"?>
62- <configuration>
63- <packageSources>
64- <clear />
65- </packageSources>
66- </configuration>
67- '@
68- $xml | Set-Content -Path "$(Build.SourcesDirectory)\NuGet.config"
69-
70- - task : NuGetCommand@2
71- displayName : ' NuGet set package source to ADO feed'
72- inputs :
73- command : custom
74- arguments : sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile $(Build.SourcesDirectory)\NuGet.config
75- - task : nuget-security-analysis@0
76- displayName : ' Secure Supply Chain Analysis'
77- - task : NuGetAuthenticate@1
78- displayName : ' NuGet Auth'
7953 - task : NodeTool@0
8054 displayName : ' NPM install'
8155 inputs :
You can’t perform that action at this time.
0 commit comments