diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 4ce3cb9..d4172a0 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -27,11 +27,11 @@ jobs: - name: Install dependencies run: | - python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade pip setuptools wheel build if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Build run: >- - python setup.py sdist bdist_wheel + python -m build # We do this, since failures on test.pypi aren't that bad - name: Publish to Test PyPI if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'