Skip to content

Commit 99cfe2f

Browse files
committed
Fix environment determination
1 parent 9c17fcf commit 99cfe2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
if [[ test == "${{ inputs.pypi-index }}" ]]; then
7979
ci_env=pypi-test
8080
elif [[ prod == "${{ inputs.pypi-index }}" ]]; then
81-
ci_env=pypi-prod${{ inputs.stable-version && '' || '-nightly' }}
81+
ci_env=pypi-prod${{ inputs.stable-version != '' && '' || '-nightly' }}
8282
else
8383
echo "::error::Invalid value for inputs.pypi-index: ${{ inputs.pypi-index }}"
8484
exit 1

0 commit comments

Comments
 (0)