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:
|
||||
pull_request:
|
||||
release:
|
||||
|
@ -10,13 +10,16 @@ defaults:
|
|||
jobs:
|
||||
build-sdist:
|
||||
runs-on: ubuntu-20.04
|
||||
steps: #Add back version test
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Verify tag matches version
|
||||
run: |
|
||||
set -ex
|
||||
version=$(cat TTS/VERSION)
|
||||
tag="${GITHUB_REF/refs\/tags\/}"
|
||||
if [[ "v$version" != "v$version" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.8
|
||||
|
@ -34,25 +37,25 @@ jobs:
|
|||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
||||
python-version: ["3.7"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install pip requirements
|
||||
- run: |
|
||||
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:
|
||||
python -m pip install -r requirements.txt
|
||||
- name: Build manylinux wheel
|
||||
- run:
|
||||
python setup.py bdist_wheel --plat-name=manylinux1_x86_64
|
||||
- name: Install manylinux wheel
|
||||
- run: |
|
||||
python -m pip install dist/*-manylinux*.whl
|
||||
- name: Upload manylinux wheel
|
||||
uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: wheel-${{ matrix.python-version }}
|
||||
path: dist/*-manylinux*.whl
|
||||
|
@ -70,17 +73,5 @@ jobs:
|
|||
with:
|
||||
name: "wheel-3.7"
|
||||
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: |
|
||||
ls -lh dist/
|
||||
|
|
Loading…
Reference in New Issue