@@ -43,14 +43,11 @@ extends:
4343 - checkout : none
4444 - task : NuGetToolInstaller@1
4545 displayName : ' Use NuGet '
46- - task : NuGetAuthenticate@1
47- displayName : NuGet Authenticate
48- inputs :
49- nuGetServiceConnections : ms/react-native ADO Feed
46+ - template : .ado/templates/authenticate-office-react-native-windows-bot.yml@self
5047 - task : CmdLine@2
5148 displayName : NuGet push (react-native)
5249 inputs :
53- script : nuget.exe push *.nupkg -ApiKey AzureArtifacts -Source https://pkgs.dev.azure.com/ms/_packaging/react-native/nuget/v3/index.json -NonInteractive -Verbosity Detailed -SkipDuplicate -NoSymbols
50+ script : nuget.exe push *.nupkg -ApiKey $(oficeReactnativeWindowsBotAadAuthToken) -Source https://pkgs.dev.azure.com/ms/_packaging/react-native/nuget/v3/index.json -NonInteractive -Verbosity Detailed -SkipDuplicate -NoSymbols
5451 workingDirectory : $(Pipeline.Workspace)/ReactWindows-final-nuget
5552 - stage : PushToPublicAdoStage
5653 displayName : ADO - react-native-public
@@ -69,14 +66,11 @@ extends:
6966 - checkout : none
7067 - task : NuGetToolInstaller@1
7168 displayName : ' Use NuGet '
72- - task : NuGetAuthenticate@1
73- displayName : NuGet Authenticate
74- inputs :
75- nuGetServiceConnections : ms/react-native-public ADO Feed
69+ - template : .ado/templates/authenticate-office-react-native-windows-bot.yml@self
7670 - task : CmdLine@2
7771 displayName : NuGet push (react-native-public)
7872 inputs :
79- script : nuget.exe push *.nupkg -ApiKey AzureArtifacts -Source https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json -NonInteractive -Verbosity Detailed -SkipDuplicate -NoSymbols
73+ script : nuget.exe push *.nupkg -ApiKey $(oficeReactnativeWindowsBotAadAuthToken) -Source https://pkgs.dev.azure.com/ms/react-native/_packaging/react-native-public/nuget/v3/index.json -NonInteractive -Verbosity Detailed -SkipDuplicate -NoSymbols
8074 workingDirectory : $(Pipeline.Workspace)/ReactWindows-final-nuget
8175 - stage : PushToNuGetStage
8276 displayName : nuget.org - Push nuget packages
0 commit comments