[ci,windows] Work around "refreshenv" not having any effect
This commit is contained in:
parent
d2eee573b1
commit
e41481beb6
@ -51,14 +51,15 @@ package_windows:
|
|||||||
- shared-windows
|
- shared-windows
|
||||||
- windows
|
- windows
|
||||||
- windows-1809
|
- windows-1809
|
||||||
|
variables:
|
||||||
|
PYTHON: "C:\Python310\python.exe"
|
||||||
before_script:
|
before_script:
|
||||||
- choco install python --version=$PYTHON_VERSION -y
|
- choco install python --version=$PYTHON_VERSION -y --no-progress
|
||||||
- refreshenv
|
- $PYTHON --version
|
||||||
- python --version
|
- $PYTHON -m pip install pipenv
|
||||||
- pip install pipenv
|
- $PYTHON -m pipenv sync --dev
|
||||||
- pipenv sync --dev
|
|
||||||
script:
|
script:
|
||||||
- pipenv run pyinstaller --onefile --name "${WINDOWS_AMD64_BINARY}" src/fime/main.py
|
- $PYTHON -m pipenv run pyinstaller --onefile --name "${WINDOWS_AMD64_BINARY}" src/fime/main.py
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/fime_windows_*
|
- dist/fime_windows_*
|
||||||
|
Loading…
Reference in New Issue
Block a user