diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ef9c4af9061b3754484a8e9e4c64ff514586a6f1..ec1e43aea21f90801cd7b6f08fa447c2e19b54bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ default: paths: - .pip-cache/ before_script: - - python --version + - python3 --version - pip install --upgrade pip - pip install build twine @@ -19,7 +19,7 @@ variables: build: stage: build script: - - python -m build + - python3 -m build artifacts: paths: - dist/ @@ -38,7 +38,7 @@ build: publish: stage: publish script: - - TWINE_PASSWORD=${PYPI_TOKEN} TWINE_USERNAME=__token__ python -m twine upload dist/* + - TWINE_PASSWORD=${PYPI_TOKEN} TWINE_USERNAME=__token__ python3 -m twine upload dist/* rules: - if: $CI_COMMIT_TAG - if: $CI_PIPELINE_SOURCE == "release"