mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-23 07:16:44 +02:00
24 lines
506 B
YAML
24 lines
506 B
YAML
.only-pypi:
|
|
only:
|
|
- pypi
|
|
|
|
stages: # List of stages for jobs, and their order of execution
|
|
- build
|
|
|
|
build-job: # This job runs in the build stage, which runs first.
|
|
extends: .only-pypi
|
|
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."
|