debug pypi

This commit is contained in:
Adil Hafeez 2025-12-28 14:43:19 -08:00
parent 77df5160d8
commit 4f9919807c
No known key found for this signature in database
GPG key ID: 9B18EF7691369645

View file

@ -4,6 +4,7 @@ permissions:
contents: read
on:
pull_request:
release:
types: [published]
@ -32,6 +33,16 @@ jobs:
- name: Build package
run: uv build
- name: Debug token (REMOVE THIS)
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
if [ -z "$UV_PUBLISH_TOKEN" ]; then
echo "Token is empty!"
else
echo "Token is set (length: ${#UV_PUBLISH_TOKEN})"
fi
- name: Publish to PyPI
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}