mirror of
https://github.com/YuzuZensai/spleeter.git
synced 2026-01-30 12:22:58 +00:00
fix: cache keys
This commit is contained in:
@@ -11,8 +11,8 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- python-3.6-cache-{{ .branch }}-{{ checksum requirements.txt }}
|
- python-3.6-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
||||||
- python-3.6-cache-{{ .branch }}-
|
- python-3.6-cache-{{ .Branch }}-
|
||||||
- python-3.6-cache-
|
- python-3.6-cache-
|
||||||
- run:
|
- run:
|
||||||
name: install ffmpeg
|
name: install ffmpeg
|
||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
name: install python dependencies
|
name: install python dependencies
|
||||||
command: pip install -r requirements.txt && pip install pytest
|
command: pip install -r requirements.txt && pip install pytest
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: python-3.6-cache-{{ .branch }}-{{ checksum requirements.txt }}
|
key: python-3.6-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
||||||
paths:
|
paths:
|
||||||
- "pretrained_models"
|
- "pretrained_models"
|
||||||
- "/usr/local/bin"
|
- "/usr/local/bin"
|
||||||
@@ -40,8 +40,8 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- python-3.7-cache-{{ .branch }}-{{ checksum requirements.txt }}
|
- python-3.7-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
||||||
- python-3.7-cache-{{ .branch }}-
|
- python-3.7-cache-{{ .Branch }}-
|
||||||
- python-3.7-cache-
|
- python-3.7-cache-
|
||||||
- run:
|
- run:
|
||||||
name: install ffmpeg
|
name: install ffmpeg
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
name: pytest
|
name: pytest
|
||||||
command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning
|
command: pytest -W ignore::FutureWarning -W ignore::DeprecationWarning
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: python-3.7-cache-{{ .branch }}-{{ checksum requirements.txt }}
|
key: python-3.7-cache-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
||||||
paths:
|
paths:
|
||||||
- "pretrained_models"
|
- "pretrained_models"
|
||||||
- "/usr/local/bin"
|
- "/usr/local/bin"
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
name: package
|
name: package
|
||||||
command: python setup.py sdist
|
command: python setup.py sdist
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: sdist-{{ .branch }}-{{ checksum setup.py }}
|
key: sdist-{{ .Branch }}-{{ checksum "setup.py" }}
|
||||||
paths:
|
paths:
|
||||||
- dist
|
- dist
|
||||||
# =======================================================================================
|
# =======================================================================================
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: sdist-{{ .branch }}-{{ checksum setup.py }}
|
key: sdist-{{ .Branch }}-{{ checksum "setup.py" }}
|
||||||
- run:
|
- run:
|
||||||
name: upload to PyPi
|
name: upload to PyPi
|
||||||
command: pip install twine && twine upload dist/*
|
command: pip install twine && twine upload dist/*
|
||||||
|
|||||||
Reference in New Issue
Block a user