Skip to content

Commit fab0278

Browse files
committed
move the python version ahead of this thing
1 parent 0b927e6 commit fab0278

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

eng/pipelines/templates/steps/build-package-artifacts.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ parameters:
3434
# However, please note that this variable will not ALWAYS be set. If using `build-artifacts.yml`, ensure that this variable is set AT LEAST
3535
# to "linux", otherwise the primary tasks will not be run as expected. APIStub, Docs, etc are NOT run on machines that aren't linux.
3636
steps:
37+
- task: UsePythonVersion@0
38+
displayName: 'Use Python $(PythonVersion)'
39+
inputs:
40+
versionSpec: $(PythonVersion)
41+
3742
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml@self
3843
parameters:
3944
PackageName: "azure-template"
@@ -47,12 +52,6 @@ steps:
4752
displayName: 'Tag scheduled builds'
4853
condition: and(eq(variables['Build.SourceBranchName'], variables['DefaultBranch']), eq(variables['Build.Reason'],'Schedule'))
4954
50-
- task: UsePythonVersion@0
51-
displayName: 'Use Python $(PythonVersion)'
52-
inputs:
53-
versionSpec: $(PythonVersion)
54-
55-
5655
- template: /eng/pipelines/templates/steps/use-venv.yml
5756
parameters:
5857
VirtualEnvironmentName: "venv"

0 commit comments

Comments
 (0)