From de1b18ec799839a11fd97a567e70d27beb70cfb3 Mon Sep 17 00:00:00 2001 From: ok-nick Date: Thu, 3 Aug 2023 12:09:38 -0400 Subject: [PATCH] fix: use $HOME to set path on Windows PowerShell --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b99142b..d9462a3 100644 --- a/action.yml +++ b/action.yml @@ -53,7 +53,7 @@ runs: - name: Set environment variable if: runner.os == 'Windows' - run: echo "~/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + run: echo "$HOME/.aftman/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append shell: powershell - name: Set environment variable