Skip to content

Commit 3f4750f

Browse files
committed
Build sdist in CI
1 parent 1cdf87b commit 3f4750f

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,28 @@ on:
66
- "*"
77

88
jobs:
9+
sdist:
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
14+
with:
15+
python-version: "3.12"
16+
17+
- name: Install libfuse-dev and pkg-config
18+
run: sudo apt install -y libfuse-dev pkg-config
19+
- name: Install Python build dependencies
20+
run: python -m pip install --upgrade build
21+
- name: Build sdist
22+
run: python -m build --sdist
23+
24+
- uses: actions/upload-artifact@v4
25+
with:
26+
name: sdist
27+
path: dist/*.tar.gz
28+
if-no-files-found: error
29+
retention-days: 2
30+
931
wheel:
1032
runs-on: ubuntu-20.04
1133
env:

0 commit comments

Comments
 (0)