File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,24 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313
14- - name : Install uv
15- uses : astral-sh/setup-uv@v4
16-
1714 - name : Set up Python
18- run : uv python install 3.11
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : ' 3.11'
18+
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install build twine
1923
2024 - name : Build package
21- run : uv build
25+ run : python -m build
2226
2327 - name : Check package
24- run : |
25- uv pip install --system twine
26- twine check dist/*
28+ run : twine check dist/*
2729
2830 - name : Publish to PyPI
2931 env :
3032 TWINE_USERNAME : __token__
3133 TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
32- run : |
33- twine upload dist/*
34+ run : twine upload dist/*
You can’t perform that action at this time.
0 commit comments