File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,16 @@ jobs:
1818 - uses : actions/setup-python@v4
1919 with :
2020 python-version : ${{ env.PYTHON_LATEST }}
21+ - uses : snok/install-poetry@v1
22+ with :
23+ version : 1.3.0
24+ - name : Install dependencies
25+ run : |
26+ poetry self add "poetry-dynamic-versioning[plugin]"
2127
22- - run : python -m pip install build twine
23- - run : python -m build --sdist --wheel .
28+ - run : poetry build
2429
2530 - name : Publish package
2631 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
27- uses : pypa/gh-action-pypi-publish@release/v1
28- with :
29- user : __token__
30- password : ${{ secrets.PYPI_API_TOKEN }}
32+ run : |
33+ poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 33** /.mypy_cache /
44.coverage
55.idea /
6+ dist /
You can’t perform that action at this time.
0 commit comments