We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba54473 commit b3e8970Copy full SHA for b3e8970
1 file changed
{{cookiecutter.project_name}}/.github/workflows/release-python.yml
@@ -53,8 +53,8 @@ jobs:
53
TWINE_PASSWORD: {{"${{ secrets.TESTPYPI_API_TOKEN }}"}}
54
run: uvx nox -s publish-package -- --repository testpypi
55
56
- publish_pypi:
57
- name: Publish to Production PyPI
+ publish_pypi_and_github:
+ name: Publish to Production PyPI and GitHub
58
runs-on: ubuntu-latest
59
needs: build_and_testpypi
60
@@ -77,5 +77,10 @@ jobs:
77
- name: Publish to PyPI
78
env:
79
TWINE_USERNAME: __token__
80
- TWINE_PASSWORD: {{"${{ secrets.PYPI_API_TOKEN }}"}}
+ TWINE_PASSWORD: {{ "${{ secrets.PYPI_API_TOKEN }}" }}
81
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/
0 commit comments