Skip to content

Commit 3efac41

Browse files
committed
Make build sdist seperate
1 parent 745cb8e commit 3efac41

1 file changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@ on:
1313
branches: [main]
1414

1515
jobs:
16+
build_sdist:
17+
name: Build source
18+
runs-on: ubuntu-latest
19+
strategy:
20+
fail-fast: false
21+
steps:
22+
- uses: actions/checkout@master
23+
with:
24+
submodules: "recursive"
25+
26+
- name: Build source and wheel
27+
run: |
28+
python -m pip install build
29+
python -m build --sdist -o wheelhouse
30+
1631
build_wheels:
1732
name: Building wheels on ${{ matrix.os }}
1833
runs-on: ${{ matrix.os }}
@@ -34,11 +49,6 @@ jobs:
3449
env:
3550
CIBW_SKIP: "pp38-*"
3651

37-
- name: Build source
38-
run: |
39-
python -m pip install build
40-
python -m build --sdist -o wheelhouse
41-
4252
- name: Upload wheels
4353
uses: actions/upload-artifact@v4
4454
with:

0 commit comments

Comments
 (0)