debug workflow
This commit is contained in:
@@ -36,7 +36,16 @@ jobs:
|
||||
|
||||
- name: Build Wheel and Source Distribution
|
||||
run: python -m build .
|
||||
|
||||
- name: Verify Secret Presence
|
||||
env:
|
||||
MY_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
||||
run: |
|
||||
if [ -z "$MY_TOKEN" ]; then
|
||||
echo "❌ ERROR: The Gitea runner is receiving an empty string for PYPI_API_TOKEN!"
|
||||
exit 1
|
||||
else
|
||||
echo "✅ SUCCESS: Secret is accessible to this repository."
|
||||
fi
|
||||
- name: Publish Package to PyPI
|
||||
env:
|
||||
TWINE_USERNAME: __token__
|
||||
|
||||
Reference in New Issue
Block a user