File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ jobs:
1414 uses : actions/setup-python@v2
1515 with :
1616 python-version : ' 3.x'
17- - name : Install dependencies
18- run : |
19- python -m pip install --upgrade pip
20- pip install setuptools wheel twine
17+ - name : Set up Poetry
18+ 19+ with :
20+ poetry-version : 1.1.5
2121 - name : Build
22- run : python setup.py sdist bdist_wheel
22+ run : poetry build
2323 - name : Create release
2424 uses : actions/create-release@v1
2525 env :
4040 release-tag : ${{ steps.get_version.outputs.version }}
4141 - name : Publish to PyPI
4242 env :
43- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
44- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
45- run : twine upload dist/*
43+ POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_TOKEN }}
44+ run : poetry publish
You can’t perform that action at this time.
0 commit comments