Skip to content

Commit d29d56c

Browse files
committed
ENH: add wheel to PyPi publish workflow
1 parent 7fd776d commit d29d56c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ jobs:
88
build-n-publish:
99
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
1010
runs-on: ubuntu-latest
11-
11+
1212
steps:
1313
- uses: actions/checkout@master
1414
- name: Set up Python 3.10
1515
uses: actions/setup-python@v3
1616
with:
1717
python-version: "3.10"
18-
18+
1919
- name: Install pypa/build
2020
run: python -m pip install build --user
2121

2222
- name: Build a binary wheel and a source tarball
23-
run:
24-
python -m build --sdist --outdir dist/
25-
23+
run:
24+
python -m build --wheel --sdist --outdir dist/
25+
2626
- name: Publish distribution 📦 to PyPI
2727
if: startsWith(github.ref, 'refs/tags')
2828
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)