From 9986fff43af0c38ce850a9fc54827b29822750b2 Mon Sep 17 00:00:00 2001 From: Dar Dahlen Date: Wed, 25 Sep 2024 16:16:38 -0700 Subject: [PATCH] Update release-wheels.yml --- .github/workflows/release-wheels.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-wheels.yml b/.github/workflows/release-wheels.yml index 203ba78..7b9bccb 100644 --- a/.github/workflows/release-wheels.yml +++ b/.github/workflows/release-wheels.yml @@ -5,7 +5,8 @@ name: Release-Wheels on: release: - types: [released] + types: + - published push: tags: 'v[0-9]+.[0-9]+.[0-9]+' concurrency: @@ -68,7 +69,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: wheel-cp${{ matrix.python }}-${{ matrix.platform_id }} - path: wheelhouse/*.whl + path: ./wheelhouse/*.whl publish-to-pypi: name: Publish Python 🐍 distribution 📦 to PyPI needs: @@ -83,8 +84,8 @@ jobs: - name: Download all the dists uses: actions/download-artifact@v4 with: - name: wheel-cp*.whl - path: wheelhouse/*.whl + name: wheel-* + path: dist merge-multiple: true - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1