diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 78bcb87..bb3c9f8 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -39,9 +39,10 @@ jobs: - uses: actions/upload-artifact@v4 with: + name: wheels path: ./wheelhouse/*.whl - build_arm64_wheels: + build_wheels_arm64: name: Build arm64 wheels runs-on: ubuntu-latest steps: @@ -67,6 +68,7 @@ jobs: - name: Upload wheels as artifacts uses: actions/upload-artifact@v4 with: + name: wheels_arm64 path: ./wheelhouse/*.whl build_sdist: @@ -89,18 +91,25 @@ jobs: python -m build --sdist - uses: actions/upload-artifact@v4 with: + name: sdist path: ./dist/*.tar.gz release: name: Release - needs: [build_wheels, build_arm64_wheels, build_sdist] + needs: [build_wheels, build_wheels_arm64, build_sdist] runs-on: ubuntu-latest steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: release + - uses: actions/download-artifact@v3 with: - name: artifact + name: release path: dist + - uses: softprops/action-gh-release@v2 with: files: dist/*