From e31acd9a8bd790b7cd39a078c319f450466edfe4 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Sat, 22 Jun 2024 21:39:38 +0800 Subject: [PATCH 1/3] add usepython in publish nuget --- tools/ci_build/github/azure-pipelines/publish-nuget.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/ci_build/github/azure-pipelines/publish-nuget.yml b/tools/ci_build/github/azure-pipelines/publish-nuget.yml index 8ce7915da76d1..e7c81bba347c3 100644 --- a/tools/ci_build/github/azure-pipelines/publish-nuget.yml +++ b/tools/ci_build/github/azure-pipelines/publish-nuget.yml @@ -29,6 +29,12 @@ stages: - checkout: self submodules: false + + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.8' + addToPath: true + - template: templates/set-version-number-variables-step.yml - script: mkdir "$(Build.BinariesDirectory)\nuget-artifact\final-package" From 10a60f3c6c52dcbaa98f276fa3944c3581a59657 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Sat, 22 Jun 2024 21:41:07 +0800 Subject: [PATCH 2/3] update --- tools/ci_build/github/azure-pipelines/publish-nuget.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/publish-nuget.yml b/tools/ci_build/github/azure-pipelines/publish-nuget.yml index e7c81bba347c3..3506f01b1988b 100644 --- a/tools/ci_build/github/azure-pipelines/publish-nuget.yml +++ b/tools/ci_build/github/azure-pipelines/publish-nuget.yml @@ -30,10 +30,10 @@ stages: - checkout: self submodules: false - - task: UsePythonVersion@0 - inputs: - versionSpec: '3.8' - addToPath: true + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.8' + addToPath: true - template: templates/set-version-number-variables-step.yml From 5f2365c6786f4d26a2217d95ee5c3889fd87f82d Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Mon, 24 Jun 2024 11:22:30 +0800 Subject: [PATCH 3/3] update to 3.9 --- tools/ci_build/github/azure-pipelines/publish-nuget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci_build/github/azure-pipelines/publish-nuget.yml b/tools/ci_build/github/azure-pipelines/publish-nuget.yml index 3506f01b1988b..367977ff59192 100644 --- a/tools/ci_build/github/azure-pipelines/publish-nuget.yml +++ b/tools/ci_build/github/azure-pipelines/publish-nuget.yml @@ -32,7 +32,7 @@ stages: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.9' addToPath: true - template: templates/set-version-number-variables-step.yml