fixed token name errror
All checks were successful
CI / test (push) Successful in 10s
Publish Core / verify (push) Successful in 9s
Publish Core / publish (push) Successful in 14s

This commit is contained in:
2026-05-19 16:06:53 -05:00
parent 24f4cece7e
commit 982b578c15

View File

@@ -36,21 +36,11 @@ jobs:
- name: Build Wheel and Source Distribution - name: Build Wheel and Source Distribution
run: python -m build . 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 - name: Publish Package to PyPI
env: env:
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
# Inherits your clean Organization level secret # Inherits your clean Organization level secret
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: twine upload --skip-existing dist/* run: twine upload --skip-existing dist/*
- name: Build Gitea Release with Assets - name: Build Gitea Release with Assets