Publish artifacts on success or failure
@@ -56,6 +56,8 @@ steps:
displayName: Publish Test Output
${{ if and(eq(parameters.publishTest, true), not(eq(parameters.platform, 'macos'))) }}:
condition: failed()
+ ${{ if and(eq(parameters.publishTest, true), eq(parameters.platform, 'macos')) }}:
+ condition: succeededOrFailed()
inputs:
artifactName: ${{ parameters.artifactName }}
pathToPublish: $(Build.ArtifactStagingDirectory)
