Skip to content

Commit

Permalink
Fixing pip publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
the-lay committed Dec 15, 2021
1 parent 176d734 commit 748e59c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish package

on:
release:
types: [created]
types: [published]

jobs:
pypi-publish:
Expand All @@ -28,7 +28,6 @@ jobs:
python -m build --sdist --wheel --outdir dist/ .
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 748e59c

Please sign in to comment.