We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcc70cc commit 7044805Copy full SHA for 7044805
.github/workflows/pypi-release.yml
@@ -10,6 +10,12 @@ on:
10
11
jobs:
12
publish:
13
+ # Skip PyPI publishing for pre-releases (e.g., release candidates).
14
+ # Pre-releases can still be created on GitHub for testing without
15
+ # pushing packages to PyPI. Manual workflow_dispatch always runs.
16
+ if: >
17
+ github.event_name == 'workflow_dispatch' ||
18
+ !github.event.release.prerelease
19
runs-on: ubuntu-24.04
20
outputs:
21
version: ${{ steps.extract_version.outputs.version }}
0 commit comments