File tree Expand file tree Collapse file tree 2 files changed +327
-6
lines changed
Expand file tree Collapse file tree 2 files changed +327
-6
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,20 @@ jobs:
4848 if : github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
4949 runs-on : ubuntu-latest
5050 steps :
51- - uses : actions/setup-python@v2
51+ - uses : actions/setup-python@v4
5252 with :
5353 python-version : 3.9
5454 - name : Checkout code
5555 uses : actions/checkout@v4
56- - name : Python Semantic Release
57- uses : python-semantic-release/python-semantic-release@v7.33.2
5856 with :
59- github_token : ${{ secrets.GH_TOKEN }}
60- repository_username : ${{ secrets.PYPI_USER }}
61- repository_password : ${{ secrets.PYPI_SECRET }}
57+ fetch-depth : 0
58+ - name : Install uv
59+ run : |
60+ python -m pip install --upgrade pip
61+ pip install uv
62+ - name : Build package
63+ run : uv build
64+ - name : Publish to PyPI
65+ env :
66+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_TOKEN }}
67+ run : uv publish
You can’t perform that action at this time.
0 commit comments