diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml index 4f693d45cb76f..a15c3061913f8 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml @@ -3,7 +3,7 @@ parameters: NugetPackageName : '' ArtifactSuffix: '' StageSuffix: 'CPU' - # For inference packages, the test data artifact name is drop-nuget and no suffix is required. + # For inference packages, the test data artifact name is drop-extra and no suffix is required. # For training packages, to differentiate the artifact name we add '-training' suffix. This needs to be passed from # the parent pipeline. TestDataArtifactSuffix: '' @@ -64,12 +64,6 @@ stages: artifactName: drop-signed-nuget-${{ parameters.ArtifactSuffix }} targetPath: '$(Build.BinariesDirectory)\nuget-artifact' - - task: DownloadPipelineArtifact@0 - displayName: 'Download Pipeline Artifact - testdata' - inputs: - artifactName: 'drop-nuget${{ parameters.TestDataArtifactSuffix }}' - targetPath: '$(Build.BinariesDirectory)\testdata' - - template: get-nuget-package-version-as-variable.yml parameters: packageFolder: '$(Build.BinariesDirectory)\nuget-artifact' diff --git a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml index 0fb6966c141db..a31b2fedbf217 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml @@ -206,8 +206,7 @@ stages: artifactName: 'drop-onnxruntime-nodejs-win-${{ parameters.packageName }}' DoEsrp: ${{ parameters.DoEsrp }} - # Upload protoc.exe, which will be used in nuget build for generating C# files - # TODO: We need to make this step independent of the packageName, so that it can be used in test_win.yml + #Upload protoc.exe, which will be used in nuget build for generating C# files - task: PublishPipelineArtifact@1 displayName: Publish protoc as drop-extra condition: and(succeeded(), or(eq('${{ parameters.packageName}}', 'x64'), eq('${{ parameters.PublishProtoc}}', true))) @@ -224,14 +223,6 @@ stages: Contents: 'custom_op_library.dll' TargetFolder: '$(Build.ArtifactStagingDirectory)/testdata' - #To be used in test_win. - # TODO: Do we need to publish protoc twice? - - task: PublishPipelineArtifact@1 - condition: and(succeeded(), or(eq('${{ parameters.packageName}}', 'x64'), eq('${{ parameters.PublishProtoc}}', true))) - inputs: - targetPath: '$(Build.BinariesDirectory)\RelWithDebInfo\installed\bin\protoc.exe' - artifactName: 'drop-nuget${{ parameters.artifact_name_suffix }}' - - task: CmdLine@2 condition: and(succeeded(), eq('${{ parameters.buildJava}}', true)) displayName: 'Add symbols and notices to Java'