From 5c19d97ed0cd36acc1e649c497295d2e15ef58d5 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Thu, 6 Dec 2018 13:28:16 -0800 Subject: [PATCH] Attempt to re-enable BAR publishing --- azure-pipelines.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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