Skip to content

GitHub Action for installing development tools (mainly from GitHub Releases).

License

Notifications You must be signed in to change notification settings

CAD97/install-action

 
 

Repository files navigation

install-action

build status

GitHub Action for installing development tools (mainly from GitHub Releases).

Usage

Inputs

Name Required Description Type Default
tool true Tools to install (comma-separated list) String

Example workflow

- uses: taiki-e/install-action@v1
  with:
    tool: cargo-hack

You can use the shorthand (if you do not need to pin the versions of this action and the installed tool):

- uses: taiki-e/install-action@cargo-hack

To install a specific version, use @version syntax:

- uses: taiki-e/install-action@v1
  with:
    tool: cargo-hack@0.5.15

To install multiple tools:

- uses: taiki-e/install-action@v1
  with:
    tool: cargo-hack,cargo-minimal-versions

Or:

- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions

Supported tools

Name Where binaries will be installed Where will it be installed from Supported platform License
cargo-hack $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 OR MIT
cargo-llvm-cov $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 OR MIT
cargo-minimal-versions $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 OR MIT
parse-changelog $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 OR MIT
cross $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 OR MIT
nextest $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 OR MIT
shellcheck /usr/local/bin GitHub Releases Linux, macOS GPL-3.0-or-later
shfmt /usr/local/bin GitHub Releases Linux, macOS BSD-3-Clause
valgrind /snap/bin snap Linux GPL-2.0-or-later
wasm-pack $CARGO_HOME/bin GitHub Releases Linux, macOS Apache-2.0 OR MIT
wasmtime $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows Apache-2.0 WITH LLVM-exception
mdbook $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows MPL-2.0
mdbook-linkcheck $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows MIT
cargo-binstall $CARGO_HOME/bin GitHub Releases Linux, macOS, Windows GPL-3.0

If $CARGO_HOME/bin is not available, Rust-related binaries will be installed to $HOME/.cargo/bin. If $HOME/.cargo/bin is not available, Rust-related binaries will be installed to /usr/local/bin.

If a tool not included in the list above is specified, this action uses cargo-binstall as a fallback.

Security

When installing the tool from GitHub Releases, this action will download the tool or its installer from GitHub Releases using HTTPS with tlsv1.2+. This is basically considered to be the same level of security as the recommended installation of rustup.

If you want a higher level of security, consider working on #1.

Related Projects

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Each of the tools installed by this action has a different license. See the Supported tools section for more information.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

GitHub Action for installing development tools (mainly from GitHub Releases).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 98.3%
  • JavaScript 1.7%