From d09033d7b9e22534a16dedcede3d75089542a133 Mon Sep 17 00:00:00 2001 From: Kyle Zhang Date: Fri, 22 Nov 2024 15:52:11 +0800 Subject: [PATCH] debug --- .../github/azure-pipelines/templates/win-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 49f70e1ca054f..0a50b546a10a4 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml @@ -85,10 +85,6 @@ parameters: type: string default: '0' -- name: OnnxRuntimeVersion - type: string - default : '1.21.0' - stages: - stage: Windows_Packaging_${{ parameters.stage_name_suffix }} dependsOn: Setup @@ -104,7 +100,7 @@ stages: timeoutParameter: '--test_all_timeout 72000' ${{ else }}: timeoutParameter: '' - onnxRuntimeReleaseVersion: $(OnnxRuntimeVersion)${{ replace($[stageDependencies.Setup.Set_Variables.outputs['Set_Release_Version_Suffix.ReleaseVersionSuffix']],'.','') }} + releaseVersionSuffix: ${{ replace($[stageDependencies.Setup.Set_Variables.outputs['Set_Release_Version_Suffix.ReleaseVersionSuffix']],'.','') }} jobs: - job: Windows_Packaging_${{ parameters.stage_name_suffix }} workspace: @@ -117,6 +113,8 @@ stages: timeoutInMinutes: 1200 ${{ else }}: timeoutInMinutes: 360 + variables: + OnnxRuntimeVersion : '1.21.0' steps: - task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3 @@ -134,7 +132,7 @@ stages: #Write-Host "releaseVersionSuffix: $(releaseVersionSuffix)" #$releaseVersion = $(OnnxRuntimeVersion) + ($(releaseVersionSuffix) -replace "\.", "") #Write-Host "releaseVersion: $releaseVersion" - Write-Host "onnxRuntimeReleaseVersion: $(onnxRuntimeReleaseVersion)" + Write-Host "onnxRuntimeReleaseVersion: $(OnnxRuntimeVersion)$(releaseVersionSuffix)" exit 1 displayName: 'KYLE DEBUG - Powershell'