Skip to content

Commit 09903b5

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

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yaml

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

115+
build-sdist:
116+
name: Build source distribution packages
117+
steps:
118+
- uses: actions/checkout@v5
119+
- name: Build sdist
120+
uses: PyO3/maturin-action@v1
121+
with:
122+
command: sdist
123+
args: --out dist
124+
- name: Upload sdist
125+
uses: actions/upload-artifact@v4
126+
with:
127+
name: dist-packages-sdist
128+
path: dist
129+
115130
test-installation:
116131
name: Test package installation
117-
needs: ["build"]
132+
needs: ["build", "build-sdist"]
118133
strategy:
119134
fail-fast: false
120135
matrix:

0 commit comments

Comments
 (0)