Skip to content

Commit fe2c218

Browse files
committed
chore: Update cd.yml to only cargo publish on tags ♻️
1 parent 3b6c147 commit fe2c218

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
args: --release
118118

119119
- name: Publish
120+
if: startsWith(github.ref, 'refs/tags/')
120121
uses: actions-rs/cargo@v1
121122
with:
122123
command: publish

0 commit comments

Comments
 (0)