We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b8fd93a + 017deb9 commit 00070a4Copy full SHA for 00070a4
1 file changed
.github/workflows/cibuildwheel.yml
@@ -3,6 +3,7 @@ name: build-wheels
3
on:
4
push:
5
branches: ["main", "master"]
6
+ tags: ["v*"]
7
pull_request:
8
workflow_dispatch:
9
@@ -41,3 +42,23 @@ jobs:
41
42
with:
43
name: wheels-${{ matrix.os }}
44
path: wheelhouse/*.whl
45
+
46
+ release:
47
+ name: Create GitHub Release
48
+ needs: build
49
+ runs-on: ubuntu-latest
50
+ if: startsWith(github.ref, 'refs/tags/v')
51
+ permissions:
52
+ contents: write
53
+ steps:
54
+ - name: Download all wheels
55
+ uses: actions/download-artifact@v7
56
+ with:
57
+ pattern: wheels-*
58
+ path: wheelhouse
59
+ merge-multiple: true
60
61
+ - name: Publish GitHub Release
62
+ uses: softprops/action-gh-release@v2
63
64
+ files: wheelhouse/*.whl
0 commit comments