3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-21 16:09:32 +01:00
Fast cargo install action using a GitHub-based binary cache
Find a file
David Tolnay 397358d64b
Merge pull request #17 from dtolnay/ghrelease
Update softprops/action-gh-release action to v2 (node20)
2024-04-14 11:16:24 -07:00
.github Update softprops/action-gh-release action to v2 (node20) 2024-04-14 11:14:47 -07:00
scripts Make sure force push always pushes something for each arg 2022-06-26 20:16:20 -07:00
.gitignore Add initial attempt at composite Actions logic 2021-10-07 22:51:09 -04:00
action.yml Remove 'crate' input from revs that already have a crate specified 2024-04-14 10:08:49 -07:00
LICENSE Add MIT license 2021-10-07 22:49:43 -04:00
README.md Remove explanation of signing key from readme 2022-12-01 09:51:57 -08:00
signing-key.asc Add public key of signing key 2021-10-07 22:50:30 -04:00

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.