Skip to content

Commit f97de79

Browse files
authored
Always update artifacts_present variable in artifact publish (#414)
1 parent 676161b commit f97de79

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Steps/BinaryCopyAndPublish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ steps:
2828
else
2929
echo "##vso[task.setvariable variable=artifacts_present]true"
3030
fi
31+
condition: succeededOrFailed()
3132

3233
# Copy binaries to the artifact staging directory
3334
- task: CopyFiles@2

Steps/OtherCopyAndPublish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ steps:
2828
else
2929
echo "##vso[task.setvariable variable=artifacts_present]true"
3030
fi
31+
condition: succeededOrFailed()
3132

3233
# Copy other files to the artifact staging directory
3334
- task: CopyFiles@2

0 commit comments

Comments
 (0)