We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cbd6f5 commit ac7aac8Copy full SHA for ac7aac8
.github/workflows/deploy-pypi.yaml
@@ -21,8 +21,8 @@ on:
21
env:
22
PYTHON_VERSION: '3.11'
23
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event_name == 'release' && github.event.release.tag_name || github.event.inputs.version }}
24
- UPLOAD_PYPI: ${{ github.event_name == 'release' && github.event.inputs.upload-pypi || 'true' }}
25
- UPLOAD_TESTPYPI: ${{ github.event_name == 'release' && github.event.inputs.upload-testpypi || 'false' }}
+ UPLOAD_PYPI: ${{ github.event_name != 'release' && github.event.inputs.upload-pypi || 'true' }}
+ UPLOAD_TESTPYPI: ${{ github.event_name != 'release' && github.event.inputs.upload-testpypi || 'false' }}
26
27
jobs:
28
build_package:
0 commit comments