mirror of https://github.com/coqui-ai/TTS.git
Fix Publish CI (#1597)
* Try out manylinux * temporary removal of useless pipeline * remove check and use only manylinux * Try --plat-name * Add install requirements * Add back other actions * Add PR trigger * Remove conditions * Fix sythax * Roll back some changes * Add other python versions * Add test pypi upload * Add username * Add back __token__ as username * Modify name of entry to testpypi * Set it to release only * Fix version checking
This commit is contained in:
parent
5c821d9fa1
commit
9e00e31e37
|
@ -42,16 +42,18 @@ jobs:
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- run: |
|
- name: Install pip requirements
|
||||||
|
run: |
|
||||||
python -m pip install -U pip setuptools wheel build
|
python -m pip install -U pip setuptools wheel build
|
||||||
- run: |
|
python -m pip install -r requirements.txt
|
||||||
python -m build
|
- name: Setup and install manylinux1_x86_64 wheel
|
||||||
- run: |
|
run: |
|
||||||
python -m pip install dist/*.whl
|
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
|
||||||
|
python -m pip install dist/*-manylinux*.whl
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: wheel-${{ matrix.python-version }}
|
name: wheel-${{ matrix.python-version }}
|
||||||
path: dist/*.whl
|
path: dist/*-manylinux*.whl
|
||||||
publish-artifacts:
|
publish-artifacts:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
needs: [build-sdist, build-wheels]
|
needs: [build-sdist, build-wheels]
|
||||||
|
|
Loading…
Reference in New Issue