Unify Azure artifacts names and produce them only on successful build.

This commit is contained in:
sampletext32 2020-06-08 04:31:12 +03:00 committed by Ivan
parent bfee541540
commit f75b26d1c9

View File

@ -42,7 +42,8 @@ jobs:
displayName: Docker setup and build
- publish: $(Build.ArtifactStagingDirectory)
condition: eq(variables['COMPILER'], 'gcc')
condition: and(succeeded(), eq(variables['COMPILER'], 'gcc'))
artifact: RPCS3 for Linux
- job: Windows_Build
variables:
@ -96,7 +97,8 @@ jobs:
displayName: Pack up build artifacts
- publish: $(Build.ArtifactStagingDirectory)
artifact: Windows App Bundle
condition: succeeded()
artifact: RPCS3 for Windows
- task: GitHubRelease@1
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')