diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5ac101a8f..2444a3a0f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -57,9 +57,9 @@ jobs: python-version: '3.9' - name: Build package run: | - python -mpip install wheel - python setup.py sdist bdist_wheel + python -mpip install build + python -m build - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@v1.3.0 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: ${{ secrets.PYPI_PASSWORD }}