CI: Avoid trying to publish builds on forks

This commit is contained in:
JohnHolmesII 2020-07-27 09:16:15 -07:00 committed by Megamouse
parent 3bba9708d9
commit e11734f971

View File

@ -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'