remove check and use only manylinux

This commit is contained in:
WeberJulian 2022-06-24 15:16:35 +02:00
parent c7018f19c4
commit 2e3743308a
1 changed files with 11 additions and 11 deletions

View File

@ -11,15 +11,15 @@ jobs:
build-sdist: build-sdist:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: 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" != "$tag" ]]; then # if [[ "v$version" != "$tag" ]]; then
exit 1 # exit 1
fi # fi
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.8
@ -50,11 +50,11 @@ jobs:
with: with:
python-versions: 'cp37-cp37m' python-versions: 'cp37-cp37m'
- run: | - run: |
python -m pip install dist/*.whl 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]