don't publish to test PyPI

publishing to PyPI doesn't work with SCM versioning
This commit is contained in:
Gilles Boccon-Gibod
2022-08-01 18:16:46 -07:00
committed by GitHub
parent 76f08977c4
commit 28586382f4

View File

@@ -31,12 +31,6 @@ jobs:
python -m pip install build
- name: Build package
run: python -m build
- name: Publish package to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Publish package to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1