From f75b26d1c9bbd5567df420dcd272ca87ee30b8db Mon Sep 17 00:00:00 2001 From: sampletext32 Date: Mon, 8 Jun 2020 04:31:12 +0300 Subject: [PATCH] Unify Azure artifacts names and produce them only on successful build. --- azure-pipelines.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 06b5863151..adef651aa0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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')