diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b06ac98..77d19a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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_*