diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b20358268c..5011b17768 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -181,4 +181,14 @@ phases: continueOnError: true condition: always() variables: - _HelixBuildConfig: $(_BuildConfig) \ No newline at end of file + _HelixBuildConfig: $(_BuildConfig) + +- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), contains(variables['Build.DefinitionName'], 'official')) }}: + - template: /eng/common/templates/phases/publish-build-assets.yml + parameters: + dependsOn: + - Windows + - macOS + - Linux + queue: + name: Hosted VS2017 \ No newline at end of file