From e0eb7a5c619c7ec33f57ea63796c0413a0f7f043 Mon Sep 17 00:00:00 2001 From: Fabien LOISON Date: Mon, 8 Jan 2024 11:17:20 +0100 Subject: [PATCH] chore(ci): fixed artifact upload --- .github/workflows/python-packages.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-packages.yml b/.github/workflows/python-packages.yml index 68f8ead..d480dd3 100644 --- a/.github/workflows/python-packages.yml +++ b/.github/workflows/python-packages.yml @@ -2,7 +2,9 @@ name: "Build and Publish Python Packages" on: push: - tags: "v[0-9]+.[0-9]+.[0-9]+" + tags: + - "v[0-9]+\\.[0-9]+\\.[0-9]+" + - "v[0-9]+\\.[0-9]+\\.[0-9]+-[0-9]+" jobs: @@ -68,7 +70,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 +91,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