diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 5551f53..813d1bb 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -20,10 +20,13 @@ jobs: - name: Install tools run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + python -m pip install --user poetry==1.7.1 + python -m pip install twine + # python -m pip install setuptools wheel twine + - name: Build and publish run: | - python setup.py sdist bdist_wheel + poetry build twine upload dist/* env: TWINE_USERNAME: ${{ secrets.PYPI_USERS }}