diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index e60eca6..bc10db7 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -80,11 +80,27 @@ jobs: name: wheels-macos-${{ matrix.platform.target }}-${{ matrix.maturin.name }} path: dist + sdist: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build sdist + uses: PyO3/maturin-action@v1 + with: + command: sdist + args: --out dist + - name: Upload sdist + uses: actions/upload-artifact@v4 + with: + name: wheels-sdist + path: dist + release: name: Release runs-on: ubuntu-latest if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }} needs: + - sdist - linux - macos environment: diff --git a/CHANGELOG.md b/CHANGELOG.md index b2af174..455ba30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Source distribution to PyPI publish ([#92](https://github.com/stac-utils/rustac-py/pull/92)) + ## [0.6.0] - 2025-04-18 > [!NOTE]