Skip to content

Commit 23cacdb

Browse files
committed
Work CI-CD
- Improve conditions for update dependents. ***NO_CI***
1 parent b86ee49 commit 23cacdb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,22 @@ jobs:
136136
condition: >-
137137
or(
138138
and(
139-
succeeded(),
139+
not(or(failed(), canceled()),
140140
startsWith(variables['Build.SourceBranch'], 'refs/heads/main'),
141141
eq(variables['StartReleaseCandidate'], 'false')
142142
),
143143
and(
144-
succeeded(),
144+
not(or(failed(), canceled()),
145145
eq(variables['System.PullRequest.PullRequestId'], ''),
146146
contains(variables['Build.SourceVersionMessage'], '***UPDATE_DEPENDENTS***'),
147147
eq(variables['StartReleaseCandidate'], 'false')
148148
),
149149
eq(variables['UPDATE_DEPENDENTS'], 'true')
150150
)
151151
152+
dependsOn:
153+
- Build_mscorlib
154+
152155
pool:
153156
vmImage: 'windows-latest'
154157

0 commit comments

Comments
 (0)