mirror of https://github.com/coqui-ai/TTS.git
Roll back some changes
This commit is contained in:
parent
1f4fc0de5a
commit
32ca5b0d34
|
@ -1,4 +1,4 @@
|
||||||
name: Publish Python distributions to PyPI
|
name: Publish Python 🐍 distributions 📦 to PyPI
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
release:
|
release:
|
||||||
|
@ -10,13 +10,16 @@ defaults:
|
||||||
jobs:
|
jobs:
|
||||||
build-sdist:
|
build-sdist:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps: #Add back version test
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Verify tag matches version
|
- name: Verify tag matches version
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
version=$(cat TTS/VERSION)
|
version=$(cat TTS/VERSION)
|
||||||
tag="${GITHUB_REF/refs\/tags\/}"
|
tag="${GITHUB_REF/refs\/tags\/}"
|
||||||
|
if [[ "v$version" != "v$version" ]]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
@ -34,25 +37,25 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
python-version: ["3.7"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install pip requirements
|
|
||||||
- run: |
|
- run: |
|
||||||
python -m pip install -U pip setuptools wheel build
|
python -m pip install -U pip setuptools wheel build
|
||||||
|
# - name: Build manylinux Python wheels
|
||||||
|
# uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64
|
||||||
|
# with:
|
||||||
|
# python-versions: 'cp37-cp37m'
|
||||||
- run:
|
- run:
|
||||||
python -m pip install -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
- name: Build manylinux wheel
|
|
||||||
- run:
|
- run:
|
||||||
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
|
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
|
||||||
- name: Install manylinux wheel
|
|
||||||
- run: |
|
- run: |
|
||||||
python -m pip install dist/*-manylinux*.whl
|
python -m pip install dist/*-manylinux*.whl
|
||||||
- name: Upload manylinux wheel
|
- uses: actions/upload-artifact@v2
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
with:
|
||||||
name: wheel-${{ matrix.python-version }}
|
name: wheel-${{ matrix.python-version }}
|
||||||
path: dist/*-manylinux*.whl
|
path: dist/*-manylinux*.whl
|
||||||
|
@ -70,17 +73,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: "wheel-3.7"
|
name: "wheel-3.7"
|
||||||
path: "dist/"
|
path: "dist/"
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: "wheel-3.8"
|
|
||||||
path: "dist/"
|
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: "wheel-3.9"
|
|
||||||
path: "dist/"
|
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: "wheel-3.10"
|
|
||||||
path: "dist/"
|
|
||||||
- run: |
|
- run: |
|
||||||
ls -lh dist/
|
ls -lh dist/
|
||||||
|
|
Loading…
Reference in New Issue