From a7ac3cded3a4916c20cff244b8f41e6815d3d5da Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 24 Sep 2022 14:20:07 +0900 Subject: [PATCH] Downgrade cargo-binstall to 0.13.1 Refs: https://github.com/taiki-e/install-action/issues/21 --- CHANGELOG.md | 1 + main.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4223086..7a22683b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com ## [Unreleased] - Update `cargo-hack@latest` to 0.5.20. +- Downgrade `cargo-binstall@latest` to 0.13.1 to avoid [upstream bug](https://github.com/taiki-e/install-action/issues/21). ## [1.13.4] - 2022-09-22 diff --git a/main.sh b/main.sh index 0bbfc56f..d3040dab 100755 --- a/main.sh +++ b/main.sh @@ -83,7 +83,9 @@ install_cargo_binstall() { info "installing cargo-binstall" host_triple - base_url=https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall + # https://github.com/cargo-bins/cargo-binstall/releases + binstall_version="0.13.1" + base_url="https://github.com/cargo-bins/cargo-binstall/releases/download/v${binstall_version}/cargo-binstall" case "${host}" in x86_64-unknown-linux-gnu) url="${base_url}-x86_64-unknown-linux-musl.tgz" ;; x86_64-unknown-linux-musl) url="${base_url}-x86_64-unknown-linux-musl.tgz" ;;