File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v2
13-
12+ - name : Checkout
13+ uses : actions/checkout@v6
1414 - name : Install uv
15- uses : astral-sh/setup-uv@v6
16-
17- - name : Publish Package
15+ uses : astral-sh/setup-uv@v7
16+ - name : Build
17+ run : uv build
18+ - name : Publish to PyPI
19+ run : uv publish
1820 env :
1921 UV_PUBLISH_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
20- run : |
21- uv build
22- uv publish
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v2
11-
12- - name : Set up Python
13- uses : actions/setup-python@v4
14- with :
15- python-version : ' 3.11'
10+ - uses : actions/checkout@v6
1611
1712 - name : Install uv
18- uses : astral-sh/setup-uv@v6
19-
20- - name : Publish Package
13+ uses : astral-sh/setup-uv@v7
14+ - name : Build
15+ run : uv build
16+ - name : Publish to TestPyPI
17+ run : uv publish --publish-url https://test.pypi.org/legacy/
2118 env :
22- UV_PUBLISH_TOKEN : ${{ secrets.TEST_PYPI_TOKEN }}
23- run : |
24- uv build
25- uv publish --index testpypi
19+ UV_PUBLISH_TOKEN : ${{ secrets.TEST_PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments