cd : distribute fix #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: distribute | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: | ||
- published | ||
jobs: | ||
make_sdist: | ||
name: Make sdist | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Build SDist | ||
run: pipx run build --sdist | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
path: dist/*.tar.gz | ||
make_wheel: | ||
name: Wheel on linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: pypa/cibuildwheel@v2.16.2 | ||
- name: build wheel | ||
run: | | ||
pip wheel -w DEST_DIR . | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
path: dist/*.whl |