From 4f9919807cab30cb90f6b889778cb67b3df3429d Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Sun, 28 Dec 2025 14:43:19 -0800 Subject: [PATCH] debug pypi --- .github/workflows/publish-pypi.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 27d5470e..ad01278c 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -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 }}