Skip to content

Commit 1e59912

Browse files
authored
Merge pull request #430 from johngian/fix-build
Add build step for python packaging
2 parents 7eb860c + 05d8828 commit 1e59912

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,17 @@ jobs:
1616
with:
1717
python-version: "3.9"
1818
- name: Install dependencies
19-
run: pip install tox tox-gh-actions
19+
run: pip install tox tox-gh-actions build
2020
- name: Run tox
2121
run: tox
22+
- name: Build package
23+
run: >-
24+
python -m
25+
build
26+
--sdist
27+
--wheel
28+
--outdir dist/
29+
.
2230
- name: Publish a Python distribution to PyPI
2331
uses: pypa/[email protected]
2432
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

0 commit comments

Comments
 (0)