From b38fb0da0640df63b0978848e6b173da00e9ccc9 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Wed, 6 Sep 2023 20:20:55 -0700 Subject: [PATCH] Revert the yaml file changes in "Nodejs_Packaging_CPU" build job (#17441) ### Description The yaml file changes made in #16050 do not really work. Currently the pipeline is failing with error: ``` Error: Not found SourceFolder: C:\a\_work\5\b\RelWithDebInfo\RelWithDebInfo\nuget-artifacts\onnxruntime-win-x64\lib ``` So, I will revert the yaml changes first to bring the pipeline back. Some people are waiting for our nightly packages. Test run: https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=351104&view=results ### Motivation and Context --- .../azure-pipelines/templates/c-api-cpu.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index 830325b05d086..21cd3a44e8924 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -532,10 +532,9 @@ stages: - stage: Nodejs_Packaging_CPU dependsOn: - Linux_C_API_Packaging_CPU - - Linux_C_API_Packaging_GPU_TensorRT_x64 - MacOS_C_API_Package_Publish - - Windows_CI_GPU_DML_Dev - - Windows_CI_GPU_DML_Dev_arm64 + - Windows_Packaging_CPU_x64_${{ parameters.BuildVariant }} + - Windows_Packaging_CPU_arm64_${{ parameters.BuildVariant }} condition: succeeded() jobs: - job: @@ -565,13 +564,13 @@ stages: - task: DownloadPipelineArtifact@0 displayName: 'Download Pipeline Artifact - NuGet (Win x64)' inputs: - artifactName: 'drop-nuget-dml' + artifactName: 'onnxruntime-win-x64' targetPath: '$(Build.BinariesDirectory)/nuget-artifact' - task: DownloadPipelineArtifact@0 displayName: 'Download Pipeline Artifact - NuGet (Win ARM64)' inputs: - artifactName: 'drop-win-dml-arm64-zip' + artifactName: 'onnxruntime-win-arm64' targetPath: '$(Build.BinariesDirectory)/nuget-artifact' - task: DownloadPipelineArtifact@0 @@ -595,14 +594,14 @@ stages: - task: DownloadPipelineArtifact@0 displayName: 'Download Pipeline Artifact - Nodejs (Win x64)' inputs: - artifactName: 'drop-onnxruntime-nodejs-win-x64-dml' - targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/win32/' + artifactName: 'drop-onnxruntime-nodejs-win-x64' + targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/win32/x64/' - task: DownloadPipelineArtifact@0 displayName: 'Download Pipeline Artifact - Nodejs (Win ARM64)' inputs: - artifactName: 'drop-onnxruntime-nodejs-win-arm64-dml' - targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/win32/' + artifactName: 'drop-onnxruntime-nodejs-win-arm64' + targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/win32/arm64/' - task: DownloadPipelineArtifact@0 displayName: 'Download Pipeline Artifact - Nodejs (macOS x86_64)' @@ -619,7 +618,7 @@ stages: - task: DownloadPipelineArtifact@0 displayName: 'Download Pipeline Artifact - Nodejs (Linux x64)' inputs: - artifactName: 'drop-onnxruntime-nodejs-linux-x64-tensorrt' + artifactName: 'drop-onnxruntime-nodejs-linux-x64' targetPath: '$(Build.BinariesDirectory)/nodejs-artifacts/linux/x64/' - task: DownloadPipelineArtifact@0