Skip to content

Commit

Permalink
prevent cascade skip (#1116)
Browse files Browse the repository at this point in the history
  • Loading branch information
nklincoln authored Jan 6, 2021
1 parent 5b74a2c commit 88a1568
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ stages:
- stage: Publish
displayName: Publish Caliper
condition: and(succeeded(), eq(variables['Build.Reason'], 'IndividualCI'))
# having a blind succeeded here will not work if a preceding stage was skipped
condition: and(not(failed('UnitTests')), eq(variables['Build.Reason'], 'IndividualCI'))
jobs:
- job: PublishNPM
displayName: "Publish Caliper NPM packages"
Expand Down

0 comments on commit 88a1568

Please sign in to comment.