Skip to content

Commit 9c29a13

Browse files
authored
Use uv to build (#30)
1 parent 46116e1 commit 9c29a13

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
id-token: write
1515
steps:
1616
- uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
1719
- uses: actions/setup-node@v4
1820
with:
1921
node-version: 23.x
@@ -22,12 +24,9 @@ jobs:
2224
uses: actions/setup-python@v5
2325
with:
2426
python-version: "3.x"
25-
- name: Install dependencies
26-
run: |
27-
python -m pip install --upgrade pip
28-
pip install setuptools wheel build
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v6
2929
- name: Build
30-
run: |
31-
python -m build
30+
run: uv build
3231
- name: Publish package distributions to PyPI
3332
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)