Skip to content

Commit ed616c4

Browse files
committed
ci: allow workflow_dispatch to publish to PyPI
1 parent d496d6e commit ed616c4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ jobs:
162162
with:
163163
subject-path: 'wheels-*/*'
164164
- name: Install uv
165-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
165+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
166166
uses: astral-sh/setup-uv@v7
167167
- name: Publish to PyPI
168-
if: ${{ startsWith(github.ref, 'refs/tags/') }}
168+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
169169
run: uv publish --trusted-publishing always 'wheels-*/*'

0 commit comments

Comments
 (0)