[ci,windows] Work around "refreshenv" not having any effect

This commit is contained in:
Fabian 2022-09-27 20:54:40 +02:00
parent d2eee573b1
commit e41481beb6

View File

@ -51,14 +51,15 @@ package_windows:
- shared-windows
- windows
- windows-1809
variables:
PYTHON: "C:\Python310\python.exe"
before_script:
- choco install python --version=$PYTHON_VERSION -y
- refreshenv
- python --version
- pip install pipenv
- pipenv sync --dev
- choco install python --version=$PYTHON_VERSION -y --no-progress
- $PYTHON --version
- $PYTHON -m pip install pipenv
- $PYTHON -m pipenv sync --dev
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:
paths:
- dist/fime_windows_*