minor fixes in uploading to PyPI

This commit is contained in:
Inari Listenmaa
2025-08-03 17:25:52 +02:00
parent e7c0b6dada
commit f1c1d157b6

View File

@@ -97,6 +97,8 @@ jobs:
- name: Publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_password }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
(cd ./src/runtime/python && curl -I --fail https://pypi.org/project/$(python setup.py --name)/$(python setup.py --version)/) || twine upload dist/*
ls -la ./dist/ # Debug: Check if wheels exist
echo "Attempting upload..."
twine upload --verbose --non-interactive --skip-existing dist/*