File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,14 @@ jobs:
2020 uses : actions/setup-python@v4
2121 with :
2222 python-version : ' 3.8.x'
23- - name : Install build
24- run : pip install build
23+ - name : Install Poetry
24+ uses : abatilo/actions-poetry@v2.3.0
25+ with :
26+ poetry-version : ' 1.4.1'
27+ - name : Install dependencies
28+ run : poetry install --no-dev
2529 - name : Build project
26- run : python -m build
30+ run : poetry build
2731 - name : Upload wheel
2832 uses : actions/upload-artifact@v3
2933 with :
3741 files : |
3842 dist/*.whl
3943 - name : Publish to PyPI
40- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
41- with :
42- user : __token__
43- password : ${{ secrets.PYPI_API_TOKEN }}
44+ env :
45+ POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_API_TOKEN }}
46+ run : poetry publish
You can’t perform that action at this time.
0 commit comments