Fix wrong python version
This commit is contained in:
parent
ff8b993a61
commit
83b0bdb7c0
|
@ -29,7 +29,7 @@ jobs:
|
||||||
|
|
||||||
- job: Windows
|
- job: Windows
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'vs2019-win2019'
|
vmImage: 'windows-2019'
|
||||||
steps:
|
steps:
|
||||||
- template: ci/test.yml
|
- template: ci/test.yml
|
||||||
- template: ci/build-win.yml
|
- template: ci/build-win.yml
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '3.6'
|
versionSpec: '3.7.4'
|
||||||
addToPath: true
|
addToPath: true
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
python --version
|
||||||
python -m pip install toml click
|
python -m pip install toml click
|
||||||
displayName: Installing python dependencies
|
displayName: Installing python dependencies
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
set -e
|
||||||
python packager.py build
|
python packager.py build
|
||||||
cp target/release/espanso-*.gz .
|
cp target/release/espanso-*.gz .
|
||||||
ls -la
|
ls -la
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
steps:
|
steps:
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '3.6'
|
versionSpec: '3.7.4'
|
||||||
addToPath: true
|
addToPath: true
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
python --version
|
||||||
python -m pip install toml click
|
python -m pip install toml click
|
||||||
displayName: Installing python dependencies
|
displayName: Installing python dependencies
|
||||||
|
|
||||||
|
@ -13,3 +14,4 @@ steps:
|
||||||
copy "target\\release\\espanso-win-installer.exe" "espanso-win-installer.exe"
|
copy "target\\release\\espanso-win-installer.exe" "espanso-win-installer.exe"
|
||||||
dir
|
dir
|
||||||
displayName: "Build and packaging for Windows"
|
displayName: "Build and packaging for Windows"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user