Update .gitlab-ci.yml file

This commit is contained in:
Steffen Illium
2023-11-22 17:44:03 +01:00
parent 08e219550c
commit 51d4d7ac9f

@ -15,8 +15,9 @@ build-job: # This job runs in the build stage, which runs first.
image: python:slim
script:
- echo "Compiling the code..."
- pip install twine --upgrade
- python setup.py sdist
- echo "Compile complete."
- twine upload --username $USER_NAME --password $API_KEY --repository marl-factory-grid --repository-url https://upload.pypi.org/legacy/ dist/*
- pip install -U twine
- python setup.py sdist bdist_wheel
- twine check dist/*
# try upload in test platform before the oficial
- twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
- echo "Upload complete."