Skip to content

Commit cd44ddb

Browse files
Update pypi-publish.yml
1 parent 650f7b6 commit cd44ddb

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/pypi-publish.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ jobs:
2222
uses: actions/setup-python@v4
2323
with:
2424
python-version: "3.12"
25+
- name: Install Poetry
26+
uses: snok/install-poetry@v1
27+
with:
28+
python-version: ${{ matrix.python }}
29+
virtualenvs-create: true
30+
virtualenvs-in-project: true
31+
installer-parallel: true
2532
- name: Install dependencies
2633
run: |
27-
python -m pip install --upgrade pip
28-
pip install setuptools wheel
29-
- name: Build package
30-
run: |
31-
python setup.py sdist bdist_wheel # Could also be python -m build
34+
poetry build
3235
- name: Publish package distributions to PyPI
3336
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3437
with:

0 commit comments

Comments
 (0)