mirror of
https://github.com/dtolnay/install.git
synced 2024-11-24 00:59:31 +01:00
Fast
cargo install
action using a GitHub-based binary cache
.github | ||
scripts | ||
.gitignore | ||
action.yml | ||
LICENSE | ||
README.md | ||
signing-key.asc |
Fast cargo install
action
This GitHub Action installs a Rust crate using precompiled signed binaries built on GitHub and hosted as GitHub release artifacts.
Example workflow
name: test suite
on: [push, pull_request]
jobs:
expand:
name: cargo expand
runs-on: ubuntu-latest
steps:
- uses: dtolnay/install@master
with:
crate: cargo-expand
- run: cargo expand --help
Inputs
Name | Required | Description |
---|---|---|
crate |
✓ | Name of crate as published to crates.io |
bin |
Name of binary; default = same as crate name |
License
The scripts and documentation in this project are released under the MIT License.