From 6cecba4f859e51c81aa118dbf2b767ecabff2380 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Thu, 26 Mar 2020 09:10:12 -0700 Subject: [PATCH] Add var to control whether we push symbols to nuget (#938) --- azure-pipelines/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines/build.yml b/azure-pipelines/build.yml index 54c96d5f..8506bcce 100644 --- a/azure-pipelines/build.yml +++ b/azure-pipelines/build.yml @@ -186,6 +186,7 @@ steps: - task: NuGetCommand@2 displayName: 'NuGet push' + condition: eq(variables['PUSH_SYMBOLS'], 'true') inputs: command: push packagesToPush: '$(Build.SourcesDirectory)/artifacts/nugetPackages/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'