We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee2a603 commit 9e20c4bCopy full SHA for 9e20c4b
1 file changed
.github/workflows/release.yml
@@ -11,7 +11,6 @@ on:
11
options:
12
- dry-run
13
- testpypi
14
- - pypi
15
push:
16
tags:
17
- "v*"
@@ -33,7 +32,7 @@ jobs:
33
32
python-version: "3.14"
34
35
- name: Verify release tag matches package version
36
- if: ${{ github.event_name == 'push' || inputs.publish_target != 'dry-run' }}
+ if: ${{ github.event_name == 'push' || inputs.publish_target == 'testpypi' }}
37
run: |
38
python - <<'PY'
39
import os
@@ -106,7 +105,7 @@ jobs:
106
105
107
publish-pypi:
108
name: Publish to PyPI
109
- if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.publish_target == 'pypi') }}
+ if: ${{ github.event_name == 'push' }}
110
needs: build
111
runs-on: ubuntu-latest
112
permissions:
0 commit comments