File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change 11name : Python wheels
2- on :
3- # Trigger the workflow on push or pull request,
4- # but only for the main branch
5- push :
6- branches :
7- - main
8- pull_request :
9- branches :
10- - main
2+ on : [push]
113jobs :
124 build_wheels :
135 name : Build wheels on ${{ matrix.os }}
7971 CIBW_BUILD : ' cp37-* cp38-* cp39-*'
8072 CIBW_BEFORE_BUILD : pip install -r requirements.txt
8173 CIBW_BEFORE_TEST : |
82- ls {project}
8374 pip install pytest
8475 pip install -r requirements.txt
8576 CIBW_TEST_COMMAND : pytest {project}
@@ -138,7 +129,7 @@ jobs:
138129 upload_pypi :
139130 needs : [ build_wheels, build_sdist ] # last but not least
140131 runs-on : ubuntu-latest
141- # if: startsWith(github.event.ref, 'refs/tags')
132+ if : startsWith(github.event.ref, 'refs/tags')
142133 steps :
143134 - uses : actions/download-artifact@v2
144135 with :
You can’t perform that action at this time.
0 commit comments