|
|
|
|
|
|
|
|
|
|
workflows: |
|
|
|
version: 2 |
|
|
|
workflow: |
|
|
|
jobs: |
|
|
|
# The first deploy jobs are the "real" ones that upload to pypi |
|
|
|
- deploy: |
|
|
|
name: deploy ml-agents-envs |
|
|
|
directory: ml-agents-envs |
|
|
|
filters: |
|
|
|
tags: |
|
|
|
# Matches e.g. "release_123" |
|
|
|
only: /^release_[0-9]+$/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |
|
|
|
- deploy: |
|
|
|
name: deploy ml-agents |
|
|
|
directory: ml-agents |
|
|
|
filters: |
|
|
|
tags: |
|
|
|
# Matches e.g. "release_123" |
|
|
|
only: /^release_[0-9]+$/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |
|
|
|
- deploy: |
|
|
|
name: deploy gym-unity |
|
|
|
directory: gym-unity |
|
|
|
filters: |
|
|
|
tags: |
|
|
|
# Matches e.g. "release_123" |
|
|
|
only: /^release_[0-9]+$/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |
|
|
|
# These deploy jobs upload to the pypi test repo. They have different tag triggers than the real ones. |
|
|
|
- deploy: |
|
|
|
name: test deploy ml-agents-envs |
|
|
|
directory: ml-agents-envs |
|
|
|
username: mlagents-test |
|
|
|
test_repository_args: --repository-url https://test.pypi.org/legacy/ |
|
|
|
filters: |
|
|
|
tags: |
|
|
|
# Matches e.g. "release_123_test456 |
|
|
|
only: /^release_[0-9]+_test[0-9]+$/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |
|
|
|
- deploy: |
|
|
|
name: test deploy ml-agents |
|
|
|
directory: ml-agents |
|
|
|
username: mlagents-test |
|
|
|
test_repository_args: --repository-url https://test.pypi.org/legacy/ |
|
|
|
filters: |
|
|
|
tags: |
|
|
|
# Matches e.g. "release_123_test456 |
|
|
|
only: /^release_[0-9]+_test[0-9]+$/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |
|
|
|
- deploy: |
|
|
|
name: test deploy gym-unity |
|
|
|
directory: gym-unity |
|
|
|
username: mlagents-test |
|
|
|
test_repository_args: --repository-url https://test.pypi.org/legacy/ |
|
|
|
filters: |
|
|
|
tags: |
|
|
|
# Matches e.g. "release_123_test456 |
|
|
|
only: /^release_[0-9]+_test[0-9]+$/ |
|
|
|
branches: |
|
|
|
ignore: /.*/ |