Use "build" instead of setup.py + add "[cd build]" build trigger word #51
pypi-publish.yml
on: pull_request
Matrix: Build and check distributions
Publish to PyPI
0s