diff --git a/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml b/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml index f4022a80b0568..bdb8c942f72c4 100644 --- a/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml @@ -340,14 +340,3 @@ stages: SpecificArtifact: ${{ parameters.specificArtifact }} CustomOpArtifactName: 'onnxruntime-linux-x64-rocm' BuildId: ${{ parameters.BuildId }} - -- template: templates/publish-nuget-steps.yml - parameters: - download_artifacts_steps: - - template: templates/flex-downloadPipelineArtifact.yml - parameters: - StepName: 'Download Pipeline Artifact - Signed NuGet ROCm Package' - ArtifactName: 'drop-signed-nuget-ROCm' - targetPath: '$(Build.BinariesDirectory)/nuget-artifact/final-package' - SpecificArtifact: ${{ parameters.specificArtifact }} - BuildId: ${{ parameters.BuildId }} diff --git a/tools/ci_build/github/azure-pipelines/rocm-publish-nuget-pipeline.yml b/tools/ci_build/github/azure-pipelines/rocm-publish-nuget-pipeline.yml new file mode 100644 index 0000000000000..1d2393d8f96d5 --- /dev/null +++ b/tools/ci_build/github/azure-pipelines/rocm-publish-nuget-pipeline.yml @@ -0,0 +1,21 @@ +resources: + pipelines: + - pipeline: build + source: 'Nuget ROCM Packaging pipeline' + trigger: + branches: + include: + - main + - rel-* + branch: main + +# ROCm +stages: +- template: templates/publish-nuget-steps.yml + parameters: + stage_name: 'Publish_ROCM_NuGet_Package' + download_artifacts_steps: + - download: build + displayName: 'Download Pipeline Artifact - Signed NuGet Package' + artifact: 'drop-signed-nuget-ROCm' + - script: move "$(Pipeline.Workspace)\build\drop-signed-nuget-ROCm\*" $(Build.BinariesDirectory)\nuget-artifact\final-package