Skip to content

Commit e39cbfc

Browse files
committed
Update python-publish.yml
1 parent 096876a commit e39cbfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Set up Python
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: '3.10'
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
24+
pip install setuptools wheel twine build
2525
- name: Build and publish
2626
run: |
27-
python setup.py sdist bdist_wheel bdist_egg
27+
python -m build --wheel
2828
- name: 'Upload dist'
2929
uses: 'actions/upload-artifact@v2'
3030
with:

0 commit comments

Comments
 (0)