Skip to content

Commit 5308120

Browse files
[build] fix PublishPipelineArtifact@1 condition (#1149)
I found that `condition` was indented one too far! Upload logs Skipping step due to condition evaluation. And so, I wasn't able to retrieve build logs for failed builds! I could either get out a ruler & unindent the `condition` by two spaces, or just move it up to be aligned with the block above. I did a quick review of the other `condition` statements and didn't find any others to fix.
1 parent e0204df commit 5308120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/ci/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- ${{ if ne(parameters.use1ESTemplate, true) }}:
7272
- task: PublishPipelineArtifact@1
7373
displayName: Upload logs
74+
condition: always()
7475
inputs:
7576
artifactName: output-${{ parameters.name }}
7677
targetPath: ${{ parameters.artifactsPath }}
77-
condition: always()

0 commit comments

Comments
 (0)