Closed tekktrik closed 2 years ago
Community libraries need to set up things in the repository like secrets, but there's no downside for community libraries for providing the infrastructure, even if they don't use it.
Since the GH Action is part of the template, it would be good to document that in the README.rst.
- name: Build and publish
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
env:
TWINE_USERNAME: {% raw %}${{ secrets.pypi_username }}{% endraw %}
TWINE_PASSWORD: {% raw %}${{ secrets.pypi_password }}{% endraw %}
Added instruction to cookiecutter repo README for adding secrets
Rebased this, to get access to the formatting but otherwise the same
Per @jepler's and @evaherrada's work to ensure all packages are available on PyPI for Mu, this PR updates the cookiecutter so that this infrastructure is always generated and is no longer one of the configurable options.
Resolves #191