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
8 changes: 5 additions & 3 deletions docs/pages/guides/gha_wheels.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,20 @@ make_sdist:
with:
fetch-depth: 0 # Optional, use if you use setuptools_scm
submodules: true # Optional, use if you have submodules
- uses: astral-sh/setup-uv@v6

- name: Build SDist
run: pipx run build --sdist
run: uv build --sdist

- uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz
```

You can instead install build via pip and use `python -m build --sdist`. You can
also pin the version with `pipx run build==<version>`.
Instead of using `uv`, you can also run `pipx run build --sdist`, or install
build via pip and use `python -m build --sdist`. You can also pin the version
with `pipx run build==<version>`.

## The core job (3 main OS's)

Expand Down