File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 2727 python-version : ' 3.13'
2828 - name : Install dependencies
2929 run : |
30+ # First install Poetry in latest version, then install
31+ # build and twine in matching versions. The following
32+ # commands should not be run in a single line.
3033 pip install poetry
34+ pip install build twine
3135 poetry install
3236 - name : Run QA
3337 run : make qa
4549 git push
4650 git tag ${{ steps.get_next_version.outputs.version }}
4751 git push origin ${{ steps.get_next_version.outputs.version }}
52+ - name : Build package
53+ if : ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
54+ run : |
55+ python -m build
56+ - name : Publish package
57+ if : ${{ steps.get_next_version.outputs.hasNextVersion == 'true' }}
58+ env :
59+ TWINE_USERNAME : __token__
60+ TWINE_PASSWORD : ${{ secrets.TOKEN_GITHUB_TO_PYPI_RW }}
61+ run : |
62+ twine upload dist/*
You can’t perform that action at this time.
0 commit comments