Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,22 +167,23 @@ jobs:
name: wheels-macos-${{ matrix.platform.target }}-obstore
path: dist

# sdist:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# steps:
# - uses: actions/checkout@v4
# - name: Build sdist
# uses: PyO3/maturin-action@v1
# with:
# command: sdist
# args: --out dist --manifest-path obstore/Cargo.toml
# - name: Upload sdist
# uses: actions/upload-artifact@v4
# with:
# name: wheels-sdist-obstore
# 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 --manifest-path obstore/Cargo.toml
- name: Test sdist
run: |
python -m pip install dist/*.tar.gz
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels-sdist-obstore
path: dist

release:
runs-on: ubuntu-latest
Expand All @@ -194,7 +195,7 @@ jobs:
# # IMPORTANT: this permission is mandatory for trusted publishing
# id-token: write
if: startsWith(github.ref, 'refs/tags/')
needs: [linux, musllinux, windows, macos]
needs: [linux, musllinux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v4
with:
Expand Down
Loading