diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9b6b839..31920f4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,12 +19,11 @@ jobs: - name: Install dependencies run: >- python -m pip install --user --upgrade setuptools wheel - - name: Convert dependencies - run: >- - sed -i 's/==/>=/g' setup.py; cat setup.py + pip install -e . + pip install build - name: Build run: >- - python setup.py sdist bdist_wheel + python -m build - name: Publish distribution 📦 to PyPI if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' uses: pypa/gh-action-pypi-publish@master