@@ -24,6 +24,7 @@ extends:
2424 customBuildTags :
2525 - ES365AIMigrationTooling-BulkMigrated-Release
2626 stages :
27+
2728 - stage : ms_react_native_nuget_publish
2829 displayName : Nuget ms/react-native feed
2930 jobs :
@@ -34,17 +35,25 @@ extends:
3435 templateContext :
3536 inputs :
3637 - input : pipelineArtifact
37- pipeline : ' _microsoftnode-api-dotnet'
38- artifactName : ' published-packages'
39- targetPath : ' $(Pipeline.Workspace)/ published-packages'
38+ pipeline : _microsoftnode-api-dotnet
39+ artifactName : published-packages
40+ targetPath : $(Pipeline.Workspace)\ published-packages
4041 steps :
42+ - script : dir /S $(Pipeline.Workspace)\published-packages
43+ displayName : Show directory contents
44+ - script : dotnet nuget list source
45+ displayName : Show Nuget sources
4146 - task : 1ES.PublishNuGet@1
42- displayName : ' NuGet push'
47+ displayName : NuGet push
4348 inputs :
49+ useDotNetTask : true
4450 packageParentPath : ' $(Pipeline.Workspace)/published-packages'
45- packagesToPush : Microsoft.JavaScript.NodeApi.*.nupkg
51+ packagesToPush : ' $(Pipeline.Workspace)/published-packages/ Microsoft.JavaScript.NodeApi.*.nupkg'
4652 nuGetFeedType : external
47- externalEndpoint : Nuget - ms/react-native-public
53+ publishFeedCredentials : ' Nuget - ms/react-native-public'
54+ externalEndpoint : ' Nuget - ms/react-native-public'
55+ publishPackageMetadata : true
56+
4857 - stage : ms_react_native_npm_publish
4958 displayName : npm ms/react-native feed
5059 jobs :
@@ -57,7 +66,7 @@ extends:
5766 - input : pipelineArtifact
5867 pipeline : ' _microsoftnode-api-dotnet'
5968 artifactName : ' published-packages'
60- targetPath : ' $(Pipeline.Workspace)/ published-packages'
69+ targetPath : $(Pipeline.Workspace)\ published-packages
6170 steps :
6271 - task : NodeTool@0
6372 displayName : Use Node 20.x
@@ -80,6 +89,7 @@ extends:
8089 script : |
8190 cd $(Pipeline.Workspace)\published-packages
8291 for %%i in (*.tgz) do npm publish %%i
92+
8393 - stage : nuget_org_publish
8494 displayName : Nuget nuget.org feed
8595 jobs :
0 commit comments