Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ on:
types:
- opened
- reopened
- synchronize # when new commits are pushed to the PR
- ready_for_review # when the PR is un-drafted
- synchronize
- ready_for_review

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

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Build SDist and Wheel
run: |
pipx install uv

pipx run build --verbose --sdist --wheel --installer=uv
# the `build` package's console script is `pyproject-build`, not `build`
uvx --from build pyproject-build --verbose --sdist --wheel --installer=uv

- uses: actions/upload-artifact@v7
with:
Expand Down
Loading