Skip to content

Commit

Permalink
Update build-wheel.yml to have release to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
cboylston authored Jul 25, 2024
1 parent 110afb6 commit 96e8467
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-wheel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Wheels
name: Build wheel and Release to pypi

on:
workflow_dispatch
Expand Down Expand Up @@ -36,4 +36,11 @@ jobs:
poetry build
- name: List built wheels
run: ls dist/
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 }}

0 comments on commit 96e8467

Please sign in to comment.