Change the command for package building in release CI workflow (#9229)

This commit is contained in:
Alexander King 2021-10-25 14:32:12 -04:00 committed by GitHub
parent 89f8ff5a6d
commit 14e032088c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -0,0 +1 @@
Changed the command used to create sdist and wheel artifacts: using the build package instead of setup.py.