Skip to content

Commit

Permalink
ci: fix publish step check before tagging (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctran88 authored Jan 16, 2025
1 parent 0002a47 commit b83a119
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
id: publish-crates
if: ${{ steps.release.outputs.release_created }}
# https://github.com/googleapis/release-please-action?tab=readme-ov-file#creating-majorminor-tags
- name: Tag versions
if: ${{ steps.release.outputs.release_created && fromJSON(steps.publish-crates.outputs.published).* }}
if: ${{ steps.release.outputs.release_created && steps.publish-crates.outcome == 'success' }}
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
Expand Down

0 comments on commit b83a119

Please sign in to comment.