rust project demo/template with github actions.
- release
// create git tag and binary
git tag v0.1.0
git push origin --tags
// publish to https://crates.io/crates/<xxx>
cargo publish
- download
curl -Lfs -o main https://github.com/xiexianbin/rust-actions-demo/releases/latest/download/demo # -{linux|darwin|windows}
chmod +x demo
./demo
or
cargo install x_demo
- 其他示例