Skip to content

Commit 43c5e35

Browse files
committed
add sdist
1 parent a856f41 commit 43c5e35

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ jobs:
103103
with:
104104
python-version: "3.9"
105105

106+
- name: Build SDist
107+
if: matrix.os == 'ubuntu-latest'
108+
run: |
109+
pip install build
110+
mkdir -p wheelhouse
111+
cd packages/basemap
112+
python -m build --sdist
113+
mv dist/* ../../wheelhouse/
114+
106115
- name: Build wheels
107116
uses: pypa/[email protected]
108117
env:
@@ -119,7 +128,9 @@ jobs:
119128

120129
- uses: actions/upload-artifact@v4
121130
with:
122-
path: ./wheelhouse/*.whl
131+
path: |
132+
./wheelhouse/*.whl
133+
./wheelhouse/*.tar.gz
123134
name: wheels-basemap-${{ matrix.os }}
124135

125136
upload_pypi:

0 commit comments

Comments
 (0)