Skip to content

Commit 7107982

Browse files
Update publish-artefacts.yml
Publish artifacts when the Build.Reason is not a Pull Request.
1 parent 7cdb8b3 commit 7107982

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.azure-pipelines/templates/build/publish-artefacts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ steps:
1616
TargetFolder: '$(Build.ArtifactStagingDirectory)/'
1717

1818
- publish: $(Build.ArtifactStagingDirectory)
19+
condition: ne(variables['Build.Reason'], 'PullRequest')
1920
artifact: Drop
2021
displayName: Publish Build Artifact

0 commit comments

Comments
 (0)