diff --git a/.woodpecker/install_cargo_hack.sh b/.woodpecker/install_cargo_hack.sh index 1853508..94ae84a 100755 --- a/.woodpecker/install_cargo_hack.sh +++ b/.woodpecker/install_cargo_hack.sh @@ -5,4 +5,5 @@ # Get host target host=$(rustc -Vv | grep host | sed 's/host: //') # Download binary and install to $HOME/.cargo/bin +mkdir -p "$HOME/.cargo/bin" curl --proto '=https' --tlsv1.2 -fsSL https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-$host.tar.gz | tar xzf - -C "$HOME/.cargo/bin"