From 3000e5acf5c6101f78b1658e5c2db1fd184836eb Mon Sep 17 00:00:00 2001 From: Peter Sobot Date: Sun, 15 Sep 2024 08:26:20 -0400 Subject: [PATCH] Update all.yml --- .github/workflows/all.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index 04fd30c5..3a17f530 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -806,17 +806,28 @@ jobs: CIBW_FREE_THREADED_SUPPORT: "1" - uses: actions/upload-artifact@v4 with: + name: wheel-${{ matrix.build }} path: ./wheelhouse/*.whl + merge: + runs-on: ubuntu-latest + needs: build-wheels + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: wheels + pattern: wheel-* + upload-pypi: - needs: [build-wheels, run-tests-with-address-sanitizer, run-tests] + needs: [merge, run-tests-with-address-sanitizer, run-tests] runs-on: 'ubuntu-20.04' name: "Upload wheels to PyPI" if: github.event_name == 'release' && github.event.action == 'published' steps: - uses: actions/download-artifact@v2 with: - name: artifact + name: wheels path: dist - uses: pypa/gh-action-pypi-publish@v1.4.2 with: