Skip to content

Commit

Permalink
chore: adding publish to workflow
Browse files Browse the repository at this point in the history
to move away from hand-written publishing to something automated.
  • Loading branch information
toumorokoshi committed Dec 2, 2023
1 parent 97dfda6 commit 3db3082
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ jobs:
- name: test
run: |
make test
- name: pypi-release
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == '3.10' }}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 3db3082

Please sign in to comment.