Skip to content

Commit 4066814

Browse files
authored
ci: fix broken sdist/wheel build step in deploy workflow
ci: fix broken sdist/wheel build step in deploy workflow
2 parents a9b9dad + 7ffefaa commit 4066814

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

‎.github/workflows/deploy.yml‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ on:
1919
types:
2020
- opened
2121
- reopened
22-
- synchronize # when new commits are pushed to the PR
23-
- ready_for_review # when the PR is un-drafted
22+
- synchronize
23+
- ready_for_review
2424

2525
concurrency:
2626
group: ${{ github.workflow }}-${{ github.ref }}
@@ -39,11 +39,15 @@ jobs:
3939
with:
4040
fetch-depth: 0 # such that setuptools_scm can do its job correctly
4141

42+
- name: Install the latest version of uv
43+
uses: astral-sh/setup-uv@v7
44+
with:
45+
enable-cache: true
46+
4247
- name: Build SDist and Wheel
4348
run: |
44-
pipx install uv
45-
46-
pipx run build --verbose --sdist --wheel --installer=uv
49+
# the `build` package's console script is `pyproject-build`, not `build`
50+
uvx --from build pyproject-build --verbose --sdist --wheel --installer=uv
4751
4852
- uses: actions/upload-artifact@v7
4953
with:

0 commit comments

Comments
 (0)