Skip to content

Commit af4336f

Browse files
authored
Update deploy.yml
Correct deploy to avoid calling setup.py directly
1 parent 54463ee commit af4336f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ jobs:
1111
steps:
1212
- name: Check out repository code
1313
uses: actions/checkout@v4
14+
- name: Install builder
15+
run: pip install --upgrade build
1416
- name: Build
15-
run: python setup.py sdist bdist_wheel
17+
run: python -m build
1618
- name: Publish
1719
uses: pypa/gh-action-pypi-publish@release/v1
1820
with:

0 commit comments

Comments
 (0)