File tree Expand file tree Collapse file tree 1 file changed +26
-20
lines changed Expand file tree Collapse file tree 1 file changed +26
-20
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,29 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
14-
15- - name : Set up Python
16- uses : actions/setup-python@v2
17- with :
18- python-version : 3.8
19-
20- - name : Install dependencies
21- run : |
22- python -m pip install --upgrade pip
23- pip install wheel
24- - name : build a binary wheel dist
25- run : |
26- rm -fr dist
27- python setup.py bdist_wheel sdist
28- - name : Publish distribution 📦 to PyPI
29- 30- with :
31- user : __token__
32- password : ${{ secrets.pypi_password }}
13+ - uses : actions/checkout@v3
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v3
17+ with :
18+ python-version : 3.9
19+
20+ - name : Install Poetry
21+ 22+ with :
23+ virtualenvs-create : true
24+ virtualenvs-in-project : true
25+
26+ - name : Install dependencies
27+ run : poetry install --no-interaction
28+
29+ - name : Build source and wheel archives
30+ run : |
31+ poetry version $(git describe --tags --abbrev=0)
32+ poetry build
33+
34+ - name : Publish distribution 📦 to PyPI
35+ 36+ with :
37+ user : __token__
38+ password : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments