Publish new releases when tagged.

This commit is contained in:
Nolan Darilek 2022-03-18 13:58:20 -05:00
parent 78a1714e2f
commit 34600bd3a9
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@ steps:
- name: release
image: rust
commands:
- cargo build
- cargo publish
when:
event:
- tag
environment:
CARGO_REGISTRY_TOKEN:
from_secret: cargo_registry_token