77
77
- name : SignType
78
78
value : test
79
79
80
+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
81
+ - group : AzureDevOps-Artifact-Feeds-Pats
82
+
80
83
# Set up non-PR build from internal project
81
84
- ${{ if eq(parameters.isOfficialBuild, true) }} :
82
85
- name : SignType
@@ -420,6 +423,24 @@ jobs:
420
423
destinationFolder : $(AllArtifactsDownloadPath)/libraries_bin_${{ platform }}_${{ parameters.liveLibrariesBuildConfig }}/
421
424
cleanUnpackFolder : false
422
425
426
+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
427
+ - ${{ if ne(parameters.osGroup, 'Windows_NT') }} :
428
+ - task : Bash@3
429
+ displayName : Setup Private Feeds Credentials
430
+ inputs :
431
+ filePath : $(Build.SourcesDirectory)/eng/common/SetupNugetSources.sh
432
+ arguments : $(Build.SourcesDirectory)/NuGet.config $Token
433
+ env :
434
+ Token : $(dn-bot-dnceng-artifact-feeds-rw)
435
+ - ${{ if eq(parameters.osGroup, 'Windows_NT') }} :
436
+ - task : PowerShell@2
437
+ displayName : Setup Private Feeds Credentials
438
+ inputs :
439
+ filePath : $(Build.SourcesDirectory)\eng\common\SetupNugetSources.ps1
440
+ arguments : -ConfigFile $(Build.SourcesDirectory)\NuGet.config -Password $Env:Token
441
+ env :
442
+ Token : $(dn-bot-dnceng-artifact-feeds-rw)
443
+
423
444
- ${{ if ne(parameters.liveRuntimeBuildConfig, '') }} :
424
445
- template : /eng/pipelines/common/download-artifact-step.yml
425
446
parameters :
@@ -469,7 +490,7 @@ jobs:
469
490
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
470
491
- template : /eng/pipelines/common/macos-sign-with-entitlements.yml
471
492
parameters :
472
- filesToSign :
493
+ filesToSign :
473
494
- name : dotnet
474
495
path : $(Build.SourcesDirectory)/artifacts/bin/osx-${{ parameters.archType }}.$(_BuildConfig)/corehost
475
496
entitlementsFile : $(Build.SourcesDirectory)/eng/pipelines/common/entitlements.plist
@@ -480,7 +501,7 @@ jobs:
480
501
- script : $(BaseJobBuildCommand) -subset installer.nocorehost
481
502
displayName : Build and Package
482
503
483
- - ${{ if in(parameters.osGroup, 'OSX', 'iOS','tvOS') }} :
504
+ - ${{ if in(parameters.osGroup, 'OSX', 'iOS','tvOS') }} :
484
505
- script : |
485
506
du -sh $(Build.SourcesDirectory)/*
486
507
df -h
0 commit comments