diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bf9883..0e35d95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,8 @@ jobs: - name: Build package ${{ matrix.python-version }} run: | - python setup.py sdist bdist_wheel; + python -m pip install build; + python -m build; - name: Publish Python distribution to PyPI if: github.ref == 'refs/heads/master'