From 8e6b120e765b5d0b064dc78a75d3fad6ac5c830b Mon Sep 17 00:00:00 2001 From: BillTheMaker Date: Sat, 6 Dec 2025 18:07:01 -0700 Subject: [PATCH] Update publish workflow with debugging steps --- .github/workflows/publish.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e303e17..3af5ccc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -62,18 +62,27 @@ jobs: with: path: dist - - name: Verify & flatten wheels + - name: Debug - List ALL files run: | - find dist -name "*.whl" -exec mv {} dist/ \; - echo "Wheels found:" - ls -la dist/*.whl || echo "❌ NO WHEELS!" - echo "Directory:" + echo "=== FULL TREE ===" + find dist -type f | head -20 + echo "=== WHEELS ONLY ===" + find dist -name "*.whl" || echo "❌ NO .whl FILES FOUND" + echo "=== dist/ CONTENTS ===" ls -la dist/ + - name: Flatten wheels to dist/ + run: | + mkdir -p dist/wheels + find dist -name "*.whl" -exec cp {} dist/ \; + echo "FINAL dist/ wheels:" + ls -la dist/*.whl || echo "❌ STILL NO WHEELS" + - name: Publish to PyPI uses: PyO3/maturin-action@v1 with: - token: ${{ secrets.PYPI_API_TOKEN }} + token: ${{ secrets.PYPI_API_TOKEN }} # ← FIXED: token not pypi-token command: upload args: --skip-existing --non-interactive +