Skip to content

Commit

Permalink
Pipeline: Make sure a usable version of python is set during deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-douglass committed Apr 16, 2020
1 parent f3d222a commit d21c22b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipelines/azure-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ stages:
steps:
- download: current
artifact: dist
# Make sure a usable version of python is used for the deployment
- task: UsePythonVersion@0
displayName: Set python version
inputs:
versionSpec: '3.8'
- script: |
set -xv # Echo commands before they are run
sudo env "PATH=$PATH" python -m pip install --no-cache-dir twine
Expand Down

0 comments on commit d21c22b

Please sign in to comment.