Skip to content

Commit e461825

Browse files
Merge pull request slgobinath#587 from terop/update_release_yml
Update release.yml
2 parents bddcc20 + 896487f commit e461825

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install build
25-
pip install wheel
24+
pip install build wheel
2625
2726
- name: Get Current Version
2827
run: |
@@ -50,7 +49,7 @@ jobs:
5049
token: ${{ secrets.GH_API_SECRET }}
5150

5251
- name: Build Python Package
53-
run: rm -Rf build *.egg-info/ && python3 setup.py sdist bdist_wheel
52+
run: rm -rf build *.egg-info/ && python3 -m build
5453

5554
- name: Publish to PyPi
5655
uses: pypa/[email protected]

0 commit comments

Comments
 (0)