File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -41,18 +41,21 @@ jobs:
4141 steps :
4242 - uses : actions/checkout@v4
4343
44- - name : Set up Python ${{ env.python-version }}
45- uses : actions/setup-python@v5
46-
47- - name : Build and check build
44+ - name : Install uv and Python
45+ uses : astral-sh/setup-uv@v6
46+ with :
47+ python-version : ${{ env.python-version }}
48+ enable-cache : true
49+ activate-environment : true
50+ cache-dependency-glob : ' ${{ inputs.dependency-file }}'
51+
52+ - name : Build
4853 run : |
49- python -m build
50- twine check dist/*
54+ uv build
5155
5256 - name : Publish
5357 if : ${{ success() }}
5458 env :
55- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
56- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
59+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_PASSWORD }}
5760 run : |
58- twine upload dist/*
61+ uv publish
You can’t perform that action at this time.
0 commit comments