changing CI building to use build

This commit is contained in:
Alexandre Eleutério Santos Lourenço 2021-10-23 10:31:05 -03:00
parent f695e18ddb
commit 5c3fa3c617
1 changed files with 2 additions and 2 deletions

View File

@ -222,11 +222,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade wheel setuptools setuptools_scm[toml]>=6 tox
pip install --upgrade wheel build tox
- name: Build package
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master