Skip to content

Commit 4a206f9

Browse files
committed
Update release workflow to build source and binary distributions
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
1 parent 48d0e3c commit 4a206f9

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,9 @@ jobs:
1616
with:
1717
python-version: "3.10"
1818
- name: Install pypa/build
19-
run: >-
20-
python -m
21-
pip install
22-
build
23-
--user
19+
run: python -m pip install build --user
2420
- name: Build a package
25-
run: >-
26-
python -m
27-
build
28-
--sdist
29-
--outdir dist/
30-
.
21+
run: python -m build
3122
- name: Publish distribution 📦 to PyPI
3223
uses: pypa/gh-action-pypi-publish@release/v1
3324
with:

0 commit comments

Comments
 (0)