chore: Update cd.yml to only cargo publish on tags ♻️

This commit is contained in:
Dheepak Krishnamurthy 2023-07-02 11:09:41 -04:00
parent 3b6c1478d7
commit fe2c218a09

View file

@ -117,6 +117,7 @@ jobs:
args: --release
- name: Publish
if: startsWith(github.ref, 'refs/tags/')
uses: actions-rs/cargo@v1
with:
command: publish