From e11734f9716ad0952816a849944da5265b0191f4 Mon Sep 17 00:00:00 2001 From: JohnHolmesII Date: Mon, 27 Jul 2020 09:16:15 -0700 Subject: [PATCH] CI: Avoid trying to publish builds on forks --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d14c962a05..6f17604e61 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -101,7 +101,7 @@ jobs: artifact: RPCS3 for Windows - task: GitHubRelease@1 - condition: eq(variables['Build.SourceBranch'], 'refs/heads/master') + condition: and(ne(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.Repository.Name'], 'RPCS3/rpcs3')) inputs: gitHubConnection: 'RPCS3-Token' repositoryName: 'RPCS3/rpcs3-binaries-win'