File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,19 @@ jobs:
1515 steps :
1616 - uses : actions/checkout@v3
1717
18- - name : Setup Python 3.10
18+ - name : Setup Python 3.12
1919 uses : actions/setup-python@v3
2020 with :
21- python-version : ' 3.10 '
21+ python-version : ' 3.12 '
2222
23- - name : Install flit
24- run : pip install flit
23+ - name : Install Poetry
24+ uses : snok/ install-poetry@v1
2525
26- - name : Build
27- run : flit build
26+ - name : Configure Poetry for PyPI
27+ run : poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
2828
29- - name : Publish to PyPI
30- env :
31- FLIT_USERNAME : __token__
32- FLIT_PASSWORD : ${{ secrets.PYPI_TOKEN }}
33- run : |
34- flit publish
29+ - name : Build and publish
30+ run : poetry publish --build
3531
3632 - name : Create a GitHub Release
3733 id : create_release
You can’t perform that action at this time.
0 commit comments