We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a918534 commit 9975270Copy full SHA for 9975270
1 file changed
build/azure-pipelines.yml
@@ -208,12 +208,14 @@ steps:
208
209
- script: nuget push -Source GitHub -ConfigFile %NUGET_CONFIG% -SkipDuplicate "%PACKAGES_DIR%\*.nupkg"
210
displayName: Push Nuget Packages to $(GITHUB_PACKAGES)
211
+ condition: and(succeeded(), ne(variables['package_count'],0))
212
env:
213
PACKAGES_DIR: $(Build.ArtifactStagingDirectory)
214
NUGET_CONFIG: $(Build.ArtifactStagingDirectory)\nuget.publish.config
215
216
- task: NuGetCommand@2
217
displayName: Push Nuget Packages to nuget.org
218
219
inputs:
220
command: 'push'
221
feedsToUse: 'config'
0 commit comments