Skip to content

Commit

Permalink
chore: Update cd.yml to only cargo publish on tags ♻️
Browse files Browse the repository at this point in the history
  • Loading branch information
kdheepak committed Jul 2, 2023
1 parent 3b6c147 commit fe2c218
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
args: --release

- name: Publish
if: startsWith(github.ref, 'refs/tags/')
uses: actions-rs/cargo@v1
with:
command: publish
Expand Down

0 comments on commit fe2c218

Please sign in to comment.