diff --git a/eng/publish/publish.yml b/eng/publish/publish.yml index 5044e3a7c..311748a16 100644 --- a/eng/publish/publish.yml +++ b/eng/publish/publish.yml @@ -350,6 +350,29 @@ extends: packagesToPush: '$(System.DefaultWorkingDirectory)/drop/Microsoft.DurableTask.ScheduledTasks.*.nupkg;!$(System.DefaultWorkingDirectory)/**/*.symbols.nupkg' # Despite this being a custom command, we need to keep this for 1ES validation packageParentPath: $(System.DefaultWorkingDirectory) # This needs to be set to some prefix of the `packagesToPush` parameter. Apparently it helps with SDL tooling + # NuGet release (Microsoft.DurableTask.ExportHistory) + - job: nugetRelease_Microsoft_DurableTask_ExportHistory + displayName: NuGet Release (Microsoft.DurableTask.ExportHistory) + dependsOn: nugetApproval + condition: succeeded('nugetApproval') # nuget packages need to be on ADO first + templateContext: + type: releaseJob + isProduction: true + inputs: + - input: pipelineArtifact + pipeline: officialPipeline # Pipeline reference as defined in the resources section + artifactName: drop + targetPath: $(System.DefaultWorkingDirectory)/drop + steps: + - task: 1ES.PublishNuget@1 + displayName: 'NuGet push (Microsoft.DurableTask.ExportHistory)' + inputs: + command: push + nuGetFeedType: external + publishFeedCredentials: 'DurableTask org NuGet API Key' + packagesToPush: '$(System.DefaultWorkingDirectory)/drop/Microsoft.DurableTask.ExportHistory.*.nupkg;!$(System.DefaultWorkingDirectory)/**/*.symbols.nupkg' # Despite this being a custom command, we need to keep this for 1ES validation + packageParentPath: $(System.DefaultWorkingDirectory) # This needs to be set to some prefix of the `packagesToPush` parameter. Apparently it helps with SDL tooling + # add it for Microsoft.DurableTask.Extensions.AzureBlobPayloads - job: nugetRelease_Microsoft_DurableTask_Extensions_AzureBlobPayloads displayName: NuGet Release (Microsoft.DurableTask.Extensions.AzureBlobPayloads) diff --git a/list-nuget-packages-links.ps1 b/list-nuget-packages-links.ps1 index dac382122..2697869e3 100644 --- a/list-nuget-packages-links.ps1 +++ b/list-nuget-packages-links.ps1 @@ -74,7 +74,8 @@ $packages = @( "Microsoft.DurableTask.Extensions.AzureBlobPayloads", "Microsoft.DurableTask.Client.AzureManaged", "Microsoft.DurableTask.Worker.AzureManaged", - "Microsoft.DurableTask.ScheduledTasks" + "Microsoft.DurableTask.ScheduledTasks", + "Microsoft.DurableTask.ExportHistory" ) Write-Host "DurableTask .NET NuGet Packages (latest versions):" -ForegroundColor Green