We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75aa605 commit 6c0fc87Copy full SHA for 6c0fc87
.github/workflows/python-publish.yml
@@ -11,18 +11,13 @@ jobs:
11
12
steps:
13
- uses: actions/checkout@v5
14
- - name: Set up Python
15
- uses: actions/setup-python@v6
+ - name: Install uv
+ uses: astral-sh/setup-uv@v7
16
with:
17
- python-version: '3.x'
18
- - name: Install dependencies
19
- run: |
20
- python -m pip install --upgrade pip
21
- pip install build setuptools wheel twine
22
- - name: Build and publish
+ python-version: "3.13"
+ - name: Build package
+ run: uv build
+ - name: Publish to PyPI
23
env:
24
- TWINE_USERNAME: __token__
25
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
26
27
- python -m build
28
- twine upload dist/*
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_PASSWORD }}
+ run: uv publish
0 commit comments