diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 3a1c679..58419e8 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -84,12 +84,19 @@ jobs: - name: Download all built wheels uses: actions/download-artifact@v4 with: - path: dist + 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/ - 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 }}