From 20b51622ad97b11eb592e09ff137e916510152be Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 4 Oct 2021 17:28:25 -0400 Subject: [PATCH] [CI] Not all bots support the new syntax. --- tools/devops/automation/templates/release/publish-nugets.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devops/automation/templates/release/publish-nugets.yml b/tools/devops/automation/templates/release/publish-nugets.yml index 45efd425ff73..2d2c6860c2f6 100644 --- a/tools/devops/automation/templates/release/publish-nugets.yml +++ b/tools/devops/automation/templates/release/publish-nugets.yml @@ -15,7 +15,7 @@ steps: env: ${{ if not(contains (variables['Build.DefinitionName'], 'private')) }}: VAR_NAME:NUGET_PUBLIC_FEED - ${{ else }}: + ${{ if contains (variables['Build.DefinitionName'], 'private') }}: VAR_NAME:NUGET_PRIVATE_FEED - task: NuGetAuthenticate@0