From 7d2efc1a786c428fa9f1439c0f0efb159c01184e Mon Sep 17 00:00:00 2001 From: Anatoly Laskaris Date: Thu, 15 Sep 2022 11:56:37 +0300 Subject: [PATCH 1/2] Fix adding CARGO_HOME to PATH --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9380b1e..a1bdf4b 100644 --- a/action.yml +++ b/action.yml @@ -74,7 +74,7 @@ runs: run: | if ! command -v rustup &> /dev/null ; then curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y - echo "${CARGO_HOME:-~/.cargo}/bin" >> $GITHUB_PATH + echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH fi if: runner.os != 'Windows' shell: bash From eeb9aed65aeb9a339895dff4d50a9797e27c7a27 Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Thu, 15 Sep 2022 22:17:16 +0200 Subject: [PATCH 2/2] Update Changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8336583..5b459fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.3.2] - 2022-09-15 + +### Fixed + +* Fix setting `$CARGO_HOME` to a valid path, in case rustup is installed from the internet. + Thanks to @nahsi for providing the fix. + ## [1.3.1] - 2022-08-14 ### Changed