From 576d1f9ac479037848ef06429655408adbcc4747 Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 19 Sep 2018 14:36:11 -0700 Subject: [PATCH] Fix build error when publishing artifacts from external forks (#1842) --- azure-pipelines.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1b4dda69..ebe8fb16 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -44,4 +44,5 @@ steps: artifactName: artifacts parallel: true parallelCount: 8 - displayName: 'Publish artifacts' \ No newline at end of file + displayName: 'Publish artifacts' + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master')) \ No newline at end of file