Fix wrong python version

This commit is contained in:
Federico Terzi 2019-09-21 13:23:45 +02:00
parent ff8b993a61
commit 83b0bdb7c0
3 changed files with 8 additions and 4 deletions

View File

@ -29,7 +29,7 @@ jobs:
- job: Windows
pool:
vmImage: 'vs2019-win2019'
vmImage: 'windows-2019'
steps:
- template: ci/test.yml
- template: ci/build-win.yml

View File

@ -1,14 +1,16 @@
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
versionSpec: '3.7.4'
addToPath: true
- script: |
python --version
python -m pip install toml click
displayName: Installing python dependencies
- script: |
set -e
python packager.py build
cp target/release/espanso-*.gz .
ls -la

View File

@ -1,10 +1,11 @@
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.6'
versionSpec: '3.7.4'
addToPath: true
- script: |
python --version
python -m pip install toml click
displayName: Installing python dependencies
@ -13,3 +14,4 @@ steps:
copy "target\\release\\espanso-win-installer.exe" "espanso-win-installer.exe"
dir
displayName: "Build and packaging for Windows"