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