@@ -321,8 +321,12 @@ jobs:
321
321
flattenFolders : true
322
322
323
323
- task : DotNetCoreCLI@2
324
- displayName : Install SignTool tool
325
- condition : and( succeeded(), eq(variables['System.PullRequest.PullRequestId'], '') )
324
+ displayName : Install Sign Client CLI
325
+ condition : >-
326
+ and(
327
+ succeeded(),
328
+ eq(variables['UPDATE_DEPENDENTS'], 'false')
329
+ )
326
330
inputs :
327
331
command : custom
328
332
custom : tool
@@ -345,11 +349,16 @@ jobs:
345
349
condition: >-
346
350
and(
347
351
succeeded(),
348
- eq(variables['System.PullRequest.PullRequestId '], '')
352
+ eq(variables['UPDATE_DEPENDENTS '], 'false ')
349
353
)
350
354
351
355
# publish artifacts (only possible if this is not a PR originated on a fork)
352
356
- task : PublishPipelineArtifact@1
357
+ condition : >-
358
+ and(
359
+ succeeded(),
360
+ ne(variables['UPDATE_DEPENDENTS'], 'true')
361
+ )
353
362
displayName : Publish deployables artifacts
354
363
inputs :
355
364
targetPath : ' $(Build.ArtifactStagingDirectory)'
@@ -361,7 +370,8 @@ jobs:
361
370
condition : >-
362
371
and(
363
372
succeeded(),
364
- eq(variables['System.PullRequest.PullRequestId'], '')
373
+ eq(variables['System.PullRequest.PullRequestId'], ''),
374
+ ne(variables['UPDATE_DEPENDENTS'], 'true')
365
375
)
366
376
continueOnError : true
367
377
inputs :
@@ -377,18 +387,17 @@ jobs:
377
387
and(
378
388
succeeded(),
379
389
eq(variables['System.PullRequest.PullRequestId'], ''),
380
- startsWith(variables['Build.SourceBranch'], 'refs/heads/main'),
381
390
eq(variables['UPDATE_DEPENDENTS'], 'false')
382
391
)
383
392
displayName : Create/Update GitHub release
384
393
inputs :
385
- action : edit
386
394
gitHubConnection : ' github.com_nano-$(System.TeamProject)'
387
395
tagSource : userSpecifiedTag
388
396
tag : v$(NBGV_NuGetPackageVersion)
389
397
title : ' nanoFramework Metadata Processor v$(NBGV_NuGetPackageVersion)'
390
398
assets : ' $(Build.ArtifactStagingDirectory)/*'
391
399
isPreRelease : false
400
+ action : create
392
401
isDraft : false
393
402
addChangeLog : true
394
403
changeLogType : issueBased
0 commit comments