We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9aa95f commit 885d451Copy full SHA for 885d451
.github/workflows/release.yml
@@ -32,13 +32,14 @@ jobs:
32
if: ${{ steps.release.outputs.release_created }}
33
run: python -m build
34
- name: Publish to PyPI
35
+ id: publish
36
37
uses: pypa/gh-action-pypi-publish@release/v1
38
with:
39
password: ${{ secrets.PYPI_API_TOKEN }}
40
# https://github.com/googleapis/release-please-action?tab=readme-ov-file#creating-majorminor-tags
41
- name: Tag versions
- if: ${{ steps.release.outputs.release_created }}
42
+ if: ${{ steps.release.outputs.release_created && steps.publish.outcome == 'success' }}
43
run: |
44
git config user.name github-actions[bot]
45
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
0 commit comments