Skip to content

Commit f1c1d15

Browse files
committed
minor fixes in uploading to PyPI
1 parent e7c0b6d commit f1c1d15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-python-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
- name: Publish
9898
env:
9999
TWINE_USERNAME: __token__
100-
TWINE_PASSWORD: ${{ secrets.pypi_password }}
100+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
101101
run: |
102-
(cd ./src/runtime/python && curl -I --fail https://pypi.org/project/$(python setup.py --name)/$(python setup.py --version)/) || twine upload dist/*
102+
ls -la ./dist/ # Debug: Check if wheels exist
103+
echo "Attempting upload..."
104+
twine upload --verbose --non-interactive --skip-existing dist/*

0 commit comments

Comments
 (0)