Skip to content

Commit 2646438

Browse files
committed
Work CI-CD
- Replace PublishPipelineArtifact task. - Update job now depends on successful build job. - Update sign tool version. - Update config of GitHubRelease task. ***NO_CI***
1 parent 431fb7b commit 2646438

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

azure-pipelines.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
inputs:
226226
command: custom
227227
custom: tool
228-
arguments: install --tool-path . sign --version 0.9.1-beta.23530.1
228+
arguments: install --tool-path . sign --version 0.9.1-beta.24170.3
229229

230230
- pwsh: |
231231
.\sign code azure-key-vault `
@@ -249,12 +249,11 @@ jobs:
249249
)
250250
251251
# publish artifacts (only possible if this is not a PR originated on a fork)
252-
- task: PublishBuildArtifacts@1
252+
- task: PublishPipelineArtifact@1
253253
displayName: Publish deployables artifacts
254254
inputs:
255-
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
256-
ArtifactName: deployables
257-
ArtifactType: Container
255+
targetPath: '$(Build.ArtifactStagingDirectory)'
256+
artifactName: deployables
258257

259258
# set cloud build vars again as they've been overriten by the tests run
260259
- script: nbgv cloud -a -c
@@ -297,6 +296,7 @@ jobs:
297296
isPreRelease: false
298297
isDraft: false
299298
addChangeLog: true
299+
changeLogType: issueBased
300300
changeLogLabels: |
301301
[
302302
{ "label" : "Type: bug", "displayName" : "Bugs fixed", "state" : "closed" },
@@ -310,6 +310,10 @@ jobs:
310310
- job: Update_Dependents
311311
condition: >-
312312
and(
313+
or(
314+
succeeded('Build_MDP'),
315+
not(in(dependencies.PreviousJob.result, 'Succeeded', 'Failed', 'Canceled'))
316+
),
313317
or(
314318
eq(dependencies.Get_Build_Flags.outputs['GetPRLabels.RUN_UPDATE_DEPENDENTS'], 'true'),
315319
eq(variables['UPDATE_DEPENDENTS'], 'true')

0 commit comments

Comments
 (0)