Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow for publishing to Crates.io #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tomodachi94
Copy link
Member

This adds a GitHub Action that publishes this crate to Crates.io whenever a new Git tag is published. (Note that you also need to modify the Cargo.toml for the upload to behave properly.)

This also adds some metadata for better discovery on Crates.io once we publish our first version.

Closes #3

@tomodachi94
Copy link
Member Author

tomodachi94 commented Apr 23, 2023

In addition, you would need to get an API token from https://crates.io/me and add it to the CRATES_TOKEN environment secret in the repository settings. This is necessary to publish the crate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish to crates.io
1 participant