ci: twine check before pypi upload, non-interactive
twine check validates the built artifacts' metadata (long_description rendering, required fields) so a broken render hits CI logs instead of landing on PyPI as a malformed project page. --non-interactive guards against a wedged prompt hanging the pipeline.
This commit is contained in:
parent
eae627e065
commit
cd11eefb38
1 changed files with 2 additions and 1 deletions
|
|
@ -67,4 +67,5 @@ pypi-twine:
|
|||
- pip install --upgrade pip
|
||||
- pip install twine build
|
||||
- python3 -m build
|
||||
- twine upload dist/*
|
||||
- twine check dist/*
|
||||
- twine upload --non-interactive dist/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue