From 8c26579016c3a8e942c371a62717b87a0dde0e3b Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Tue, 7 Aug 2018 16:04:33 -0700 Subject: [PATCH] Don't push artifacts in forks (#1168) --- .vsts-pipelines/templates/build-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vsts-pipelines/templates/build-steps.yml b/.vsts-pipelines/templates/build-steps.yml index 2ebd7b36d1..a5983be46b 100644 --- a/.vsts-pipelines/templates/build-steps.yml +++ b/.vsts-pipelines/templates/build-steps.yml @@ -8,7 +8,7 @@ phases: afterBuild: - task: PublishBuildArtifacts@1 displayName: Upload binlog - condition: always() + condition: eq(variables['system.pullrequest.isfork'], false) inputs: artifactName: logs artifactType: Container