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 11name : Build release
22
33on :
4- workflow_dispatch :
5- # Uncomment to build when pushing a tag
6- # push:
7- # tags:
8- # - "v*.*.*"
4+ push :
5+ tags :
6+ - " v*.*.*"
97
108jobs :
119 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
1616If you want to distribute your extension using ` pip ` or ` conda ` and you mind
1717that your users take a long time to install it, then it might be better to
1818build 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 ) .
2222
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+ ```
2328
2429## Example usage
2530
You can’t perform that action at this time.
0 commit comments