Skip to content

Commit c646a52

Browse files
authored
fix(ci): Remove publish_to_pypi condition - always publish (#449)
Removed the problematic publish_to_pypi condition that was causing the publish job to skip. The workflow will now always publish when triggered manually or via tag push. Changes: - Removed if condition from publish job - Removed publish_to_pypi input parameter The workflow is simpler: trigger it when you want to publish.
1 parent 32f55dd commit c646a52

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ on:
1515
required: false
1616
type: boolean
1717
default: false
18-
publish_to_pypi:
19-
description: 'Actually publish to PyPI (uncheck for dry run)'
20-
required: false
21-
type: boolean
22-
default: true
2318

2419
permissions:
2520
contents: read
@@ -222,7 +217,6 @@ jobs:
222217

223218
publish:
224219
needs: [build-wheels, build-sdist]
225-
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish_to_pypi != 'false')
226220
runs-on: ubuntu-latest
227221

228222
steps:

0 commit comments

Comments
 (0)