From 924dbbad50d58d79d4d50c7cc0fface718a4d0f4 Mon Sep 17 00:00:00 2001 From: WeberJulian Date: Fri, 24 Jun 2022 16:19:26 +0200 Subject: [PATCH] Try --plat-name --- .github/workflows/pypi-release.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 561bc0db..d810db20 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -11,15 +11,15 @@ jobs: build-sdist: runs-on: ubuntu-20.04 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" != "$tag" ]]; then - # exit 1 - # fi + - 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 @@ -45,10 +45,12 @@ jobs: python-version: ${{ matrix.python-version }} - 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' + # - name: Build manylinux Python wheels + # uses: RalfG/python-wheels-manylinux-build@v0.4.2-manylinux2014_x86_64 + # with: + # python-versions: 'cp37-cp37m' + - run: + python setup.py bdist_wheel --plat-name=manylinux1_x86_64 - run: | python -m pip install dist/*-manylinux*.whl - uses: actions/upload-artifact@v2