We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe42493 + af94184 commit cdba38eCopy full SHA for cdba38e
.github/workflows/publish_pypi.yml
@@ -17,6 +17,11 @@ jobs:
17
python -m build
18
- name: Publish distribution to PyPI
19
if: startsWith(github.ref, 'refs/tags')
20
- uses: pypa/gh-action-pypi-publish@v1.8.14
+ uses: pypa/gh-action-pypi-publish@release/v1
21
with:
22
password: ${{ secrets.PYPI_PASSWORD }}
23
+ - name: Create a GitHub release
24
+ if: startsWith(github.ref, 'refs/tags')
25
+ run: gh release create --generate-notes "${GITHUB_REF#refs/tags/}"
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments