tree-sitter-c-sharp
tree-sitter-c-sharp copied to clipboard
Add an action to publish the grammar automatically
This PR allows to publish automatically tree-sitter-c-sharp on crates.io when a new tag is set. To make it work, it is just necessary to define the CARGO_REGISTRY_TOKEN as secret.
It should be merged after #219 in my opinion
Thanks in advance for your review! :)
@dcreager I think you'd need to setup the secret - I don't have any access to the Rust/crates publishing only to the npm.
Any chance you could pick this up @hendrikvanantwerpen ?
I don't think I have Cargo access that allows me to do that. Perhaps @patrickt knows something about this as well.
It should work now because of https://github.com/tree-sitter/tree-sitter-java/pull/98#issuecomment-1235934619. The token is public for the entire organization. Once merged, I guess you can publish through this action
Thank you @damieng for the merge and the new release! It works! :tada:
No, thank you for the script! Sorry things took a while to get in place.