Parcourir la source

Don't push to VS feed when post build sign == true (#27265)

Matt Mitchell il y a 5 ans
Parent
commit
c4e65bb553
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .azure/pipelines/ci.yml

+ 1 - 1
.azure/pipelines/ci.yml

@@ -316,7 +316,7 @@ stages:
         displayName: Build Arm64 Installers
 
       # A few files must also go to the VS package feed.
-      - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+      - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), ne(variables['PostBuildSign'], 'true')) }}:
         - task: NuGetCommand@2
           displayName: Push Visual Studio packages
           inputs: