From a5ad9e9a938bbf255793cab77ebc8247850ba1e5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Prieur Date: Thu, 17 Oct 2024 14:12:37 -0700 Subject: [PATCH 1/2] Update template-install-dependencies.yaml --- build/template-install-dependencies.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/template-install-dependencies.yaml b/build/template-install-dependencies.yaml index 5f3927521..415217436 100644 --- a/build/template-install-dependencies.yaml +++ b/build/template-install-dependencies.yaml @@ -1,5 +1,7 @@ #template-install-dependencies.yaml - +parameters: + authenticateForFeed: 'true' + #install dotnet core steps: @@ -46,6 +48,7 @@ steps: - task: NuGetAuthenticate@1 displayName: NuGet Authenticate + condition: eq('${{ parameters.authenticateForFeed }}', 'true') inputs: nuGetServiceConnections: 'IDDP Feed' From fe1d0f521265ef8f723f5ebc54c946009d1321d8 Mon Sep 17 00:00:00 2001 From: Jean-Marc Prieur Date: Thu, 17 Oct 2024 14:14:09 -0700 Subject: [PATCH 2/2] Update template-onebranch-release-build.yaml --- build/template-onebranch-release-build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/template-onebranch-release-build.yaml b/build/template-onebranch-release-build.yaml index 302a76ad2..76bc2301a 100644 --- a/build/template-onebranch-release-build.yaml +++ b/build/template-onebranch-release-build.yaml @@ -9,6 +9,8 @@ steps: # Bootstrap the build - template: template-install-dependencies.yaml + parameters: + authenticateForFeed: 'false' # Nuget Restore and Build Microsoft.Identity.Web.sln - template: template-restore-build-MSIdentityWeb.yaml