File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Build release
2
2
3
3
on :
4
- workflow_dispatch :
5
- # Uncomment to build when pushing a tag
6
- # push:
7
- # tags:
8
- # - "v*.*.*"
4
+ push :
5
+ tags :
6
+ - " v*.*.*"
9
7
10
8
jobs :
11
9
build_wheels :
Original file line number Diff line number Diff line change @@ -16,10 +16,15 @@ A template for a standalone C++ library with dependencies managed by
16
16
If you want to distribute your extension using ` pip ` or ` conda ` and you mind
17
17
that your users take a long time to install it, then it might be better to
18
18
build some binaries instead of optimizing the build process. This template
19
- might still be useful for you as it has workflows for building python wheels
20
- with
21
- [ cibuildwheel] ( https://github.com/pypa/cibuildwheel ) .
19
+ might still be useful for you as it has a
20
+ [ release ] ( .github/workflows/release.yml ) workflow for building python wheels
21
+ with [ cibuildwheel] ( https://github.com/pypa/cibuildwheel ) .
22
22
23
+ That workflow is activated when pushing a version tag to the repository:
24
+ ```
25
+ git tag v0.0.1
26
+ git push origin --tags
27
+ ```
23
28
24
29
## Example usage
25
30
You can’t perform that action at this time.
0 commit comments