marl-factory-grid/.gitlab-ci.yml
2023-06-20 10:27:24 +02:00

19 lines
453 B
YAML

stages: # List of stages for jobs, and their order of execution
- build
build-job: # This job runs in the build stage, which runs first.
stage: build
variables:
TWINE_USERNAME: $USER_NAME
TWINE_PASSWORD: $API_KEY
image: python:slim
script:
- echo "Compiling the code..."
- pip install -U twine
- python setup.py sdist
- echo "Compile complete."
- twine upload dist/*
- echo "Upload complete."