Skip to content

Commit 0a1b6fe

Browse files
authored
fix: Use uv build in release workflow (#592)
1 parent ee5aece commit 0a1b6fe

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,8 @@ jobs:
2828
curl -LsSf https://astral.sh/uv/install.sh | sh
2929
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
3030
31-
- name: Install dependencies
32-
run: |
33-
uv venv
34-
uv pip install -e .
35-
uv pip install hatch
36-
3731
- name: Build package
38-
run: uv run hatch build
32+
run: uv build --clear
3933

4034
- name: Get version from pyproject.toml
4135
id: get_version
@@ -71,4 +65,4 @@ jobs:
7165
- name: Publish to PyPI
7266
uses: pypa/gh-action-pypi-publish@release/v1
7367
with:
74-
password: ${{ secrets.PYPI_ART_TOKEN }}
68+
password: ${{ secrets.PYPI_ART_TOKEN }}

0 commit comments

Comments
 (0)