Skip to content

Commit b8dd98b

Browse files
committed
CI: Fix package build by using hatch instead of uv
Using `uv build` creates a wheel package without any code.
1 parent a2f9b63 commit b8dd98b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,16 @@ jobs:
1919

2020
- name: Set up uv
2121
uses: astral-sh/setup-uv@v7
22+
with:
23+
activate-environment: true
24+
enable-cache: true
25+
python-version: "3.14"
26+
27+
- name: Set up Hatch
28+
run: uv pip install hatch
2229

2330
- name: Build package
24-
run: uv build
31+
run: hatch build
2532

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

0 commit comments

Comments
 (0)