File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed
Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1- name : Build
1+ name : Build Wheels
22
3- on : [push, pull_request]
3+ # Only run on new tags starting with `v`
4+ on :
5+ push :
6+ tags :
7+ - ' v*'
48
59jobs :
610 build_wheels :
@@ -40,17 +44,17 @@ jobs:
4044
4145 - name : Build wheel
4246 run : |
43- python -m cibuildwheel --output-dir dist
47+ python -m cibuildwheel --output-dir wheelhouse
4448
4549 - uses : actions/upload-artifact@v1
4650 with :
4751 name : wheels
48- path : ./dist
52+ path : ./wheelhouse
4953
50- # https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
51- - name : Publish distribution 📦 to PyPI
52- if : startsWith(github.event.ref, 'refs/tags')
53- uses : pypa/gh-action-pypi-publish@master
54- with :
55- user : __token__
56- password : ${{ secrets.pypi_password }}
54+ - name : Publish wheels to PyPI
55+ env :
56+ TWINE_USERNAME : __token__
57+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
58+ run : |
59+ python -m pip install twine
60+ twine upload wheelhouse/*.whl
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 0.1.2] - 2020-06-01
4+
5+ - Try again to publish to PyPI directly
6+
7+ ## [ 0.1.1] - 2020-06-01
8+
9+ - Try building wheels on CI with ` cibuildwheel `
10+
311## [ 0.1.0] - 2020-05-30
412
513- Initial release
You can’t perform that action at this time.
0 commit comments