mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
minor fixes in uploading to PyPI
This commit is contained in:
6
.github/workflows/build-python-package.yml
vendored
6
.github/workflows/build-python-package.yml
vendored
@@ -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/*
|
||||
Reference in New Issue
Block a user