Fix wrong python version
This commit is contained in:
parent
ff8b993a61
commit
83b0bdb7c0
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- job: Windows
|
||||
pool:
|
||||
vmImage: 'vs2019-win2019'
|
||||
vmImage: 'windows-2019'
|
||||
steps:
|
||||
- template: ci/test.yml
|
||||
- template: ci/build-win.yml
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user