mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 18:20:26 +09:00
Call NuGetAuthenticate after SetupNuGetSources (#102846)
This commit is contained in:
parent
e2a46dd6cc
commit
75c670edbe
2 changed files with 8 additions and 0 deletions
|
@ -187,6 +187,10 @@ jobs:
|
||||||
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
|
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
|
||||||
env:
|
env:
|
||||||
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
||||||
|
# Run the NuGetAuthenticate task after the internal feeds are added to the nuget.config
|
||||||
|
# This ensures that creds are set appropriately for all feeds in the config, and that the
|
||||||
|
# credential provider is installed.
|
||||||
|
- task: NuGetAuthenticate@1
|
||||||
|
|
||||||
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
|
- ${{ each monoCrossAOTTargetOS in parameters.monoCrossAOTTargetOS }}:
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
|
|
|
@ -104,6 +104,10 @@ jobs:
|
||||||
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
|
arguments: -ConfigFile $(Build.SourcesDirectory)/NuGet.config -Password $Env:Token
|
||||||
env:
|
env:
|
||||||
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
Token: $(dn-bot-dnceng-artifact-feeds-rw)
|
||||||
|
# Run the NuGetAuthenticate task after the internal feeds are added to the nuget.config
|
||||||
|
# This ensures that creds are set appropriately for all feeds in the config, and that the
|
||||||
|
# credential provider is installed.
|
||||||
|
- task: NuGetAuthenticate@1
|
||||||
|
|
||||||
- ${{ if in(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator') }}:
|
- ${{ if in(parameters.osGroup, 'osx', 'maccatalyst', 'ios', 'iossimulator', 'tvos', 'tvossimulator') }}:
|
||||||
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }}
|
- script: $(Build.SourcesDirectory)/eng/install-native-dependencies.sh ${{ parameters.osGroup }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue