Skip to content

Commit 808964d

Browse files
committed
build-wheels.yml: also build sdist
1 parent dc25480 commit 808964d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build-wheels.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,18 @@ jobs:
103103
- uses: actions/upload-artifact@v3
104104
with:
105105
path: ./wheelhouse/*.whl
106+
107+
build_sdist:
108+
name: Build SDist
109+
runs-on: ubuntu-latest
110+
steps:
111+
- uses: actions/checkout@v3
112+
with:
113+
fetch-depth: 0 # for setuptools_scm
114+
115+
- name: Build SDist
116+
run: pipx run build --sdist
117+
118+
- uses: actions/upload-artifact@v3
119+
with:
120+
path: dist/*.tar.gz

0 commit comments

Comments
 (0)