diff --git a/.github/workflows/build-wheel.yml b/.github/workflows/build-wheel.yml index bc5f7a9..ba15a0a 100644 --- a/.github/workflows/build-wheel.yml +++ b/.github/workflows/build-wheel.yml @@ -1,4 +1,4 @@ -name: Build Wheels +name: Build wheel and Release to pypi on: workflow_dispatch @@ -36,4 +36,11 @@ jobs: poetry build - name: List built wheels - run: ls dist/ \ No newline at end of file + run: ls dist/ + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + verbose: true + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }}