Skip to content

Commit cbbf143

Browse files
committed
Fix package build by using hatch instead of uv
Using `uv build` creates a wheel package without any code.
1 parent 8ad2cc8 commit cbbf143

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020
- name: Set up uv
2121
uses: astral-sh/setup-uv@v7
2222

23+
- name: Set up Hatch
24+
env:
25+
UV_SYSTEM_PYTHON: true
26+
run: uv pip install hatch
27+
2328
- name: Build package
24-
run: uv build
29+
run: hatch build
2530

2631
- name: Publish package to PyPI
2732
if: startsWith(github.event.ref, 'refs/tags')

0 commit comments

Comments
 (0)