Skip to content

Commit

Permalink
pip: also run pypi upload job on workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
scottwittenburg committed Dec 15, 2023
1 parent d650742 commit 2942521
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pypackaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ jobs:
permissions:
id-token: write
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
if: |
github.event_name == 'workflow_dispatch' ||
(
github.event_name == 'release' &&
github.event.action == 'published'
)
steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 2942521

Please sign in to comment.