File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,17 @@ jobs:
2525 uses : actions/setup-python@v5
2626 with :
2727 python-version : 3.12
28- - name : Install flit
28+ - name : Install dependencies
2929 run : |
30- pip install flit
31- - name : Publish the distibution to PyPI
32- run : flit publish
33- env :
34- FLIT_INDEX_URL : https://upload.pypi.org/legacy/
35- FLIT_USERNAME : __token__
36- FLIT_PASSWORD : ${{ secrets. PYPI_API_TOKEN }}
30+ python -m pip install --upgrade pip
31+ pip install build
32+ - name : Build package
33+ run : python -m build
34+ - name : Publish package
35+ uses : pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
36+ with :
37+ user : __token__
38+ password : ${{ secrets.PYPI_API_TOKEN }}
3739
3840 release :
3941 name : Create release
You can’t perform that action at this time.
0 commit comments