7777 - name : SignType
7878 value : test
7979
80+ - ${{ if ne(variables['System.TeamProject'], 'public') }} :
81+ - group : AzureDevOps-Artifact-Feeds-Pats
82+
8083 # Set up non-PR build from internal project
8184 - ${{ if eq(parameters.isOfficialBuild, true) }} :
8285 - name : SignType
@@ -420,6 +423,24 @@ jobs:
420423 destinationFolder : $(AllArtifactsDownloadPath)/libraries_bin_${{ platform }}_${{ parameters.liveLibrariesBuildConfig }}/
421424 cleanUnpackFolder : false
422425
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+
423444 - ${{ if ne(parameters.liveRuntimeBuildConfig, '') }} :
424445 - template : /eng/pipelines/common/download-artifact-step.yml
425446 parameters :
@@ -469,7 +490,7 @@ jobs:
469490 - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
470491 - template : /eng/pipelines/common/macos-sign-with-entitlements.yml
471492 parameters :
472- filesToSign :
493+ filesToSign :
473494 - name : dotnet
474495 path : $(Build.SourcesDirectory)/artifacts/bin/osx-${{ parameters.archType }}.$(_BuildConfig)/corehost
475496 entitlementsFile : $(Build.SourcesDirectory)/eng/pipelines/common/entitlements.plist
@@ -480,7 +501,7 @@ jobs:
480501 - script : $(BaseJobBuildCommand) -subset installer.nocorehost
481502 displayName : Build and Package
482503
483- - ${{ if in(parameters.osGroup, 'OSX', 'iOS','tvOS') }} :
504+ - ${{ if in(parameters.osGroup, 'OSX', 'iOS','tvOS') }} :
484505 - script : |
485506 du -sh $(Build.SourcesDirectory)/*
486507 df -h
0 commit comments