Skip to content

Commit 5ad62f9

Browse files
committed
Build a source distribution package
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 798a98a commit 5ad62f9

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,25 @@ jobs:
112112
path: dist/
113113
if-no-files-found: error
114114

115+
build-sdist:
116+
name: Build source distribution packages
117+
runs-on: ubuntu-24.04
118+
steps:
119+
- uses: actions/checkout@v5
120+
- name: Build sdist
121+
uses: PyO3/maturin-action@v1
122+
with:
123+
command: sdist
124+
args: --out dist
125+
- name: Upload sdist
126+
uses: actions/upload-artifact@v4
127+
with:
128+
name: dist-packages-sdist
129+
path: dist
130+
115131
test-installation:
116132
name: Test package installation
117-
needs: ["build"]
133+
needs: ["build", "build-sdist"]
118134
strategy:
119135
fail-fast: false
120136
matrix:

0 commit comments

Comments
 (0)