Skip to content

Commit 2f7d2a5

Browse files
committed
Ensure wheels are built from sdists
Since build 0.5.0, the default behaviour of `python -m build` is to create the sdist first, and then to create the wheel from the sdist. Using `--sdist --wheel` prevents the desired default behaviour.
1 parent 7913a36 commit 2f7d2a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
cd packages/${{ matrix.package }}
3636
python -m pip install build wheel
37-
python -m build --sdist --wheel
37+
python -m build
3838
3939
- uses: actions/upload-artifact@v4
4040
with:

0 commit comments

Comments
 (0)