Skip to content

Commit 1016c10

Browse files
committed
fix: re-add sdist
We need it for a conda build
1 parent 640d6d6 commit 1016c10

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/pypi.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,27 @@ jobs:
8080
name: wheels-macos-${{ matrix.platform.target }}-${{ matrix.maturin.name }}
8181
path: dist
8282

83+
sdist:
84+
runs-on: ubuntu-latest
85+
steps:
86+
- uses: actions/checkout@v4
87+
- name: Build sdist
88+
uses: PyO3/maturin-action@v1
89+
with:
90+
command: sdist
91+
args: --out dist
92+
- name: Upload sdist
93+
uses: actions/upload-artifact@v4
94+
with:
95+
name: wheels-sdist
96+
path: dist
97+
8398
release:
8499
name: Release
85100
runs-on: ubuntu-latest
86101
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
87102
needs:
103+
- sdist
88104
- linux
89105
- macos
90106
environment:

0 commit comments

Comments
 (0)