Skip to content

Commit ef06ec5

Browse files
authored
Update template-install-dependencies.yaml (#3092)
* Update template-install-dependencies.yaml * Update template-onebranch-release-build.yaml
1 parent e01306a commit ef06ec5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

build/template-install-dependencies.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#template-install-dependencies.yaml
2-
2+
parameters:
3+
authenticateForFeed: 'true'
4+
35
#install dotnet core
46

57
steps:
@@ -46,6 +48,7 @@ steps:
4648

4749
- task: NuGetAuthenticate@1
4850
displayName: NuGet Authenticate
51+
condition: eq('${{ parameters.authenticateForFeed }}', 'true')
4952
inputs:
5053
nuGetServiceConnections: 'IDDP Feed'
5154

build/template-onebranch-release-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ steps:
99

1010
# Bootstrap the build
1111
- template: template-install-dependencies.yaml
12+
parameters:
13+
authenticateForFeed: 'false'
1214

1315
# Nuget Restore and Build Microsoft.Identity.Web.sln
1416
- template: template-restore-build-MSIdentityWeb.yaml

0 commit comments

Comments
 (0)