File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,17 @@ jobs:
2424 - name : Set up Python
2525 uses : actions/setup-python@v5
2626 with :
27- python-version : ' 3.12'
28- - name : Install dependencies
27+ python-version : 3.12
28+ - name : Install flit
2929 run : |
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@81e9d935c883d0b210363ab89cf05f3894778450
36- with :
37- user : __token__
38- password : ${{ secrets.PYPI_API_TOKEN }}
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 }}
37+
3938
4039 release :
4140 name : Create release
You can’t perform that action at this time.
0 commit comments