Skip to content

Commit

Permalink
Merge pull request #3967 from scottwittenburg/fix-upload-pypi-job-con…
Browse files Browse the repository at this point in the history
…dition

pip: also run pypi upload job on workflow_dispatch
  • Loading branch information
vicentebolea committed Dec 15, 2023
2 parents d650742 + 2942521 commit 83879eb
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 83879eb

Please sign in to comment.