diff --git a/.github/workflows/pypi_publish.yaml b/.github/workflows/pypi_publish.yaml index 7cb2ab6..32b7dcf 100644 --- a/.github/workflows/pypi_publish.yaml +++ b/.github/workflows/pypi_publish.yaml @@ -16,12 +16,15 @@ jobs: with: python-version: '3.x' - - name: Install, Build and publish + - name: Install build tools + run: | + python -m pip install --upgrade pip + pip install build twine + + - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - python setup.py sdist bdist_wheel + python -m build twine upload dist/*