From 226aecd27f5353ae78e597fa9b8893ae389218ef Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Mon, 6 Oct 2025 22:52:48 -0400 Subject: [PATCH 1/3] Attempt to fix the missing downloads --- .github/workflows/publish_pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 3a1c679..a89437d 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -84,12 +84,12 @@ jobs: - name: Download all built wheels uses: actions/download-artifact@v4 with: - path: dist + path: wheelhouse - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: - packages-dir: dist + packages-dir: wheelhouse env: TWINE_USERNAME: "__token__" TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} From d19537cc6e3f9dd1356004caf46abd0c9d330498 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Mon, 6 Oct 2025 23:04:22 -0400 Subject: [PATCH 2/3] Faltten the whl files download-artifact@v4 puts each artifact in its own subdirectory (one per artifact name) unless you tell it to merge. --- .github/workflows/publish_pypi.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index a89437d..87869cb 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -86,6 +86,9 @@ jobs: with: path: wheelhouse + - name: Flatten wheelhouse directory + run: mv wheelhouse/*/*.whl wheelhouse/ + - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: From c09d1e5039e18cde2e284fdecab273ec88c97586 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Mon, 6 Oct 2025 23:22:38 -0400 Subject: [PATCH 3/3] Fix the names --- .github/workflows/publish_pypi.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 87869cb..58419e8 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -85,6 +85,10 @@ jobs: uses: actions/download-artifact@v4 with: path: wheelhouse + # optional, explicitly specify which artifacts to download + pattern: qc-permanent-* + # prevents per-artifact subfolders + merge-multiple: true - name: Flatten wheelhouse directory run: mv wheelhouse/*/*.whl wheelhouse/