File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
13+ - uses : actions/checkout@v6
1414
1515 - name : Set up Python
16- uses : actions/setup-python@v2
16+ uses : actions/setup-python@v6
1717 with :
1818 python-version : ' 3.x'
1919
20+ - name : Set up Poetry
21+ uses : abatilo/actions-poetry@v4
22+ with :
23+ poetry-version : ' 2.3.2'
24+
2025 - name : Install dependencies
21- run : |
22- python -m pip install --upgrade pip
23- pip install build
26+ run : poetry install
2427
25- - name : Build package
26- run : python -m build
28+ - name : Configure PyPI
29+ run : poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
2730
2831 - name : Publish package
29- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
30- with :
31- user : __token__
32- password : ${{ secrets.PYPI_API_TOKEN }}
32+ run : poetry publish --build --no-interaction
You can’t perform that action at this time.
0 commit comments