{"repo":"extractions/setup-crate","free":true,"listed":false,"github":"https://github.com/extractions/setup-crate","clone":"git clone https://github.com/extractions/setup-crate.git","description":"📦 GitHub Action to install a Rust crate from a GitHub release","language":"TypeScript","stars":21,"topics":["github-actions","rust","crate"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"setup-crate This GitHub Action will install a release of a Rust crate for you. Introduction This action will work for any project that satisfies the following conditions: - The project is a public GitHub project. - The project uses GitHub releases with semver tag names. - The project attaches assets to the GitHub release that contain a Rust target. The following targets are looked for: Arch Node Platform Targets ------- ------------- ----------------------------------------------------------- x64 linux x86 64-unknown-linux-musl or x86 64-unknown-linux-gnu x64 darwin x86 64-apple-darwin x64 win32 x86 64-pc-windows-msvc arm64 linux aarch64-unknown-linux-musl or aarch64-unknown-linux-gnu arm64 darwin aarch64-apple-darwin arm64 win32 aarch64-pc-windows-msvc - The asset is a .tar.gz or .zip archive that contains a binary with the project name. Usage Examples In most cases all you will need is to specify repo and the owner/name of the project in your workflow. For example the following installs the latest version of mdBook. If you want a specific version you can specify this by suffixing version to the input. For example the following installs the latest 0.10.x version of just. Inputs Name Required Description Type Default -------------- -------- ------------------------------------------------------------------- ------ --------------------------- repo no The GitHub repository name and valid NPM-style semver specification string github-token no The GitHub token for making API reque","default_branch":null,"files":null,"tree":[],"storefront":"/r/extractions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/extractions/setup-crate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}