Change the command for package building in release CI workflow (#9229)
This commit is contained in:
parent
89f8ff5a6d
commit
14e032088c
|
@ -222,11 +222,11 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install --upgrade wheel setuptools setuptools_scm[toml]>=6 tox
|
pip install --upgrade build tox
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: |
|
run: |
|
||||||
python setup.py sdist bdist_wheel
|
python -m build
|
||||||
|
|
||||||
- name: Publish package to PyPI
|
- name: Publish package to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Changed the command used to create sdist and wheel artifacts: using the build package instead of setup.py.
|
Loading…
Reference in New Issue