From 50d2c74d8a6a5412b3a83a40c69ae50c09bb486c Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 15 Dec 2023 17:25:12 +1100 Subject: [PATCH] Download artifacts to publish to PyPI --- .github/workflows/wheels.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 289bf58fc2a..eb5d0f171d5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -213,5 +213,19 @@ jobs: permissions: id-token: write steps: + - uses: actions/download-artifact@v4 + - name: Merge artifacts + run: | + for artifact in macOS_x86_64 \ + macOS_arm64 \ + manylinux2014_musllinux \ + manylinux_2_28 \ + windows_x86 \ + windows_x64 \ + windows_arm64 \ + sdist; do + mv $artifact/* . + rmdir $artifact + done - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1