diff --git a/.github/workflows/python-packages.yml b/.github/workflows/python-packages.yml index e76a07c..9f0ac68 100644 --- a/.github/workflows/python-packages.yml +++ b/.github/workflows/python-packages.yml @@ -3,7 +3,7 @@ name: "Build and Publish Python Packages" on: push: - tags: "v[0-9]+.[0-9]+.[0-9]+" + tags: "v[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?" jobs: @@ -68,7 +68,7 @@ jobs: - name: "Upload artifacts" uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-${{ matrix.os }} path: ./wheelhouse/*.whl retention-days: 1 @@ -89,7 +89,7 @@ jobs: run: | mkdir dist/ mv sdist/* dist/ - mv wheels/*.whl dist/ + mv wheels-*/*.whl dist/ - name: "Publish packages on PyPI" uses: pypa/gh-action-pypi-publish@release/v1