diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 67d16940be..bcb27cae47 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -96,6 +96,7 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: artifact-${{ matrix.os }} path: ./wheelhouse/*.whl build_sdist: @@ -114,8 +115,19 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: artifact-sdist path: dist/*.tar.gz + merge_artifacts: + runs-on: ubuntu-latest + needs: [build_wheels, build_sdist] + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: artifact + pattern: artifact-* + upload_pypi: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest