Skip to content

Commit 5844bf0

Browse files
authored
Update release.yml
1 parent 14326f8 commit 5844bf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Publish a Python distribution to PyPI
4242
uses: pypa/gh-action-pypi-publish@release/v1
4343
with:
44-
password: ${{ inputs.test_pypi && secrets.TEST_PYPI_API_TOKEN || secrets.PYPI_API_TOKEN }}
45-
repository-url: ${{ inputs.test_pypi && 'https://test.pypi.org/legacy/' || 'https://upload.pypi.org/legacy/' }}
44+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
45+
repository-url: 'https://test.pypi.org/legacy/' }}
4646

4747
- name: Bump version to next candidate
4848
run: |

0 commit comments

Comments
 (0)