Skip to content

Commit d9451d0

Browse files
committed
use uvx for build packages.
refs: https://docs.astral.sh/uv/guides/publish/
1 parent 1e1c2fc commit d9451d0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,11 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
curl -LsSf https://astral.sh/uv/install.sh | sh
26-
uv sync
2726
2827
- name: Build package
2928
run: |
30-
. .venv/bin/activate
31-
python -m build --version
32-
python -m build
33-
twine check dist/*
29+
uvx --from build pyproject-build --installer uv
30+
uvx twine check dist/*
3431
3532
- name: Upload packages to Jazzband
3633
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)