mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-31 14:58:23 +00:00
fix: add branch filtering
This commit is contained in:
@@ -17,9 +17,21 @@ jobs:
|
|||||||
- image: circleci/python:3.6.1
|
- image: circleci/python:3.6.1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: package
|
name: package
|
||||||
command: python setup.py bdist
|
command: python setup.py bdist
|
||||||
- run:
|
- run:
|
||||||
name: upload to PyPi
|
name: upload to PyPi
|
||||||
command: pip install twine && twine upload dist/*
|
command: pip install twine && twine upload dist/*
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
test-and-deploy:
|
||||||
|
jobs:
|
||||||
|
- test
|
||||||
|
- upload:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
requires:
|
||||||
|
- test
|
||||||
Reference in New Issue
Block a user