Skip to content

Commit 0e1432c

Browse files
authored
ci: block tagging unless publishing was successful (#37)
1 parent 86f4bcf commit 0e1432c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: ${{ steps.release.outputs.release_created }}
3030
# https://github.com/googleapis/release-please-action?tab=readme-ov-file#creating-majorminor-tags
3131
- name: Tag versions
32-
if: ${{ steps.release.outputs.release_created }}
32+
if: ${{ steps.release.outputs.release_created && fromJSON(steps.publish-crates.outputs.published).* }}
3333
run: |
3434
git config user.name github-actions[bot]
3535
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

0 commit comments

Comments
 (0)