From 1f4843331b3a65d0aa8ea6f1f34615bc2557c970 Mon Sep 17 00:00:00 2001
From: Wolfgang Silbermayr <wolfgang@silbermayr.at>
Date: Mon, 1 Aug 2022 14:38:55 +0200
Subject: [PATCH] Add to GITHUB_PATH with $HOME instead of ~

---
 action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/action.yml b/action.yml
index 4f2f070..8feb110 100644
--- a/action.yml
+++ b/action.yml
@@ -42,7 +42,7 @@ runs:
         : install rustup if needed
         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