File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
{{cookiecutter.project_name}}/.github/workflows Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 5353 TWINE_PASSWORD : {{"${{ secrets.TESTPYPI_API_TOKEN }}"}}
5454 run : uvx nox -s publish-package -- --repository testpypi
5555
56- publish_pypi :
57- name : Publish to Production PyPI
56+ publish_pypi_and_github :
57+ name : Publish to Production PyPI and GitHub
5858 runs-on : ubuntu-latest
5959 needs : build_and_testpypi
6060
7777 - name : Publish to PyPI
7878 env :
7979 TWINE_USERNAME : __token__
80- TWINE_PASSWORD : {{"${{ secrets.PYPI_API_TOKEN }}"}}
80+ TWINE_PASSWORD : {{ "${{ secrets.PYPI_API_TOKEN }}" }}
8181 run : uvx nox -s publish-python
82+
83+ - name : Publish to GitHub
84+ env :
85+ GITHUB_TOKEN : {{ "${{ secrets.GITHUB_TOKEN }}" }}
86+ run : gh release upload {{ "${{ github.event.inputs.tag }}" }} dist/
You can’t perform that action at this time.
0 commit comments