Build sdist in CI
This commit is contained in:
parent
1cdf87b307
commit
3f4750f263
1 changed files with 22 additions and 0 deletions
22
.github/workflows/wheels.yml
vendored
22
.github/workflows/wheels.yml
vendored
|
|
@ -6,6 +6,28 @@ on:
|
|||
- "*"
|
||||
|
||||
jobs:
|
||||
sdist:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Install libfuse-dev and pkg-config
|
||||
run: sudo apt install -y libfuse-dev pkg-config
|
||||
- name: Install Python build dependencies
|
||||
run: python -m pip install --upgrade build
|
||||
- name: Build sdist
|
||||
run: python -m build --sdist
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sdist
|
||||
path: dist/*.tar.gz
|
||||
if-no-files-found: error
|
||||
retention-days: 2
|
||||
|
||||
wheel:
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue