diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d847c5ad..645371c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,8 +23,7 @@ jobs: sed -i "s/version='[0-9]\{1,2\}.[0-9]\{1,4\}.[0-9]\{1,4\}',/version='${{github.event.inputs.version_no}}',/g" setup.py - name: Create packages run: | - python setup.py sdist - python setup.py bdist_wheel + python -m build - name: pypi-publish uses: pypa/gh-action-pypi-publish@release/v1 with: