diff --git a/CHANGELOG.md b/CHANGELOG.md index 20c127bd..bc0448c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] +- Fix cargo-binstall installation failure. + ## [1.8.0] - 2022-07-26 - Only use musl binaries for nextest if glibc isn't available. See [#13](https://github.com/taiki-e/install-action/issues/13) for more. diff --git a/main.sh b/main.sh index c684e3e7..51968e77 100755 --- a/main.sh +++ b/main.sh @@ -95,7 +95,7 @@ install_cargo_binstall() { download "${url}" "${cargo_bin}" "cargo-binstall${exe}" info "cargo-binstall installed at $(type -P "cargo-binstall${exe}")" - x cargo binstall | head 1 # cargo binstall doesn't have a normal --version flag + x cargo binstall | head -1 # cargo binstall doesn't have a normal --version flag else info "cargo-binstall already installed on in ${cargo_bin}/cargo-binstall" fi