Update publish workflow with debugging steps
This commit is contained in:
21
.github/workflows/publish.yml
vendored
21
.github/workflows/publish.yml
vendored
@@ -62,18 +62,27 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- name: Verify & flatten wheels
|
- name: Debug - List ALL files
|
||||||
run: |
|
run: |
|
||||||
find dist -name "*.whl" -exec mv {} dist/ \;
|
echo "=== FULL TREE ==="
|
||||||
echo "Wheels found:"
|
find dist -type f | head -20
|
||||||
ls -la dist/*.whl || echo "❌ NO WHEELS!"
|
echo "=== WHEELS ONLY ==="
|
||||||
echo "Directory:"
|
find dist -name "*.whl" || echo "❌ NO .whl FILES FOUND"
|
||||||
|
echo "=== dist/ CONTENTS ==="
|
||||||
ls -la dist/
|
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
|
- name: Publish to PyPI
|
||||||
uses: PyO3/maturin-action@v1
|
uses: PyO3/maturin-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PYPI_API_TOKEN }}
|
token: ${{ secrets.PYPI_API_TOKEN }} # ← FIXED: token not pypi-token
|
||||||
command: upload
|
command: upload
|
||||||
args: --skip-existing --non-interactive
|
args: --skip-existing --non-interactive
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user