Skip to content

Commit

Permalink
Merge pull request #362 from lazka/ci-build-sdist
Browse files Browse the repository at this point in the history
CI: build and upload the sdist
  • Loading branch information
lazka committed Feb 11, 2024
2 parents 2f1dce1 + 57d8b7e commit 59a5dbe
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/wheels.yml
Expand Up @@ -3,6 +3,30 @@ name: Build
on: [push, pull_request]

jobs:

build_sdist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade setuptools
- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v4
with:
name: sdist
path: ./dist/*.tar.gz

build_wheels:
name: Build wheels on ${{ matrix.os }} (${{ matrix.platform_id }})
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 59a5dbe

Please sign in to comment.