Skip to content

Commit

Permalink
[Workflow] Update publish workflow (#119)
Browse files Browse the repository at this point in the history
.
  • Loading branch information
yaoyaoding committed Feb 18, 2023
1 parent eacb510 commit 0617089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-pypi.yaml
Expand Up @@ -69,7 +69,7 @@ jobs:
publish:
name: Publish to PyPI
needs: [publish-tests] # require tests to pass before deploy runs
if: github.event_name == 'release' && github.event.action == 'created' && startsWith(github.event.release.tag_name, 'v')
if: github.event_name == 'release' && github.event.action == 'published' && startsWith(github.event.release.tag_name, 'v')
runs-on: ubuntu-latest
steps:
- name: Checkout source
Expand Down

0 comments on commit 0617089

Please sign in to comment.