Download crates/forge_ci/src/steps/setup_protoc.rs from SaylorTwift/forgecode: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/SaylorTwift/forgecode/resolve/main/crates/forge_ci/src/steps/setup_protoc.rs
- Command line
-
hf download hf://SaylorTwift/forgecode/crates/forge_ci/src/steps/setup_protoc.rs
-
curl -L -o setup_protoc.rs https://huggingface.co/SaylorTwift/forgecode/resolve/main/crates/forge_ci/src/steps/setup_protoc.rs
350 Bytes
| use gh_workflow::*; | |
| /// Creates a step to setup the Protobuf compiler. | |
| /// | |
| /// This step is reusable across all CI workflows that need protobuf | |
| /// compilation. | |
| pub fn setup_protoc() -> Step<Use> { | |
| Step::new("Setup Protobuf Compiler") | |
| .uses("arduino", "setup-protoc", "v3") | |
| .with(("repo-token", "${{ secrets.GITHUB_TOKEN }}")) | |
| } | |