File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,23 @@ steps:
12
12
displayName : ' Install wasm-tools'
13
13
14
14
- powershell : |
15
+ Push-Location $(IdWebSourceDir)
15
16
$nugetSourceIsExternal = (dotnet nuget list source --format Short).Contains("https://api.nuget.org/v3/index.json")
16
17
if ($nugetSourceIsExternal) {
17
18
dotnet nuget remove source NuGet
18
19
dotnet nuget add source https://identitydivision.pkgs.visualstudio.com/_packaging/IDDP/nuget/v3/index.json -n IDDP
19
20
dotnet nuget list source
20
21
}
22
+ Pop-Location
21
23
displayName : ' Remove external "NuGet" Source and add "IDDP artifacts" as a NuGet Source, if needed.'
22
24
23
25
- task : DotNetCoreCLI@2
24
26
displayName : ' Build solution Microsoft.Identity.Web.sln'
25
27
inputs :
26
28
command : ' custom'
27
29
custom : ' build'
30
+ feedsToUse : ' config'
31
+ nugetConfigPath : NuGet.config
28
32
projects : ' $(IdWebSourceDir)Microsoft.Identity.Web.sln'
29
33
arguments : ' -p:configuration=${{ parameters.BuildConfiguration }} -p:RunCodeAnalysis=true -p:MicrosoftIdentityWebVersion=${{ parameters.MicrosoftIdentityWebVersion }} -p:SourceLinkCreate=true'
30
34
You can’t perform that action at this time.
0 commit comments