Upgrade Pipeline Python Version to 3.12 (#839)
This commit is contained in:
Родитель
31056e7d4f
Коммит
aabc4030f0
|
@ -36,10 +36,10 @@ extends:
|
|||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
disableDownloadFromRegistry: true
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
displayName: "Use Python 3.9"
|
||||
displayName: "Use Python 3.12"
|
||||
|
||||
- task: JavaToolInstaller@0
|
||||
displayName: Use jdk 17
|
||||
|
|
|
@ -35,10 +35,10 @@ jobs:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
displayName: "Use Python 3.9"
|
||||
displayName: "Use Python 3.12"
|
||||
|
||||
- task: JavaToolInstaller@0
|
||||
displayName: Use jdk 17
|
||||
|
|
|
@ -67,10 +67,10 @@ stages:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
displayName: "Use Python 3.9"
|
||||
displayName: "Use Python 3.12"
|
||||
- task: JavaToolInstaller@0
|
||||
displayName: Use jdk 17
|
||||
inputs:
|
||||
|
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
|
@ -162,10 +162,10 @@ stages:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
displayName: "Use Python 3.9"
|
||||
displayName: "Use Python 3.12"
|
||||
|
||||
- script: |
|
||||
dir
|
||||
|
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче