[actions] Fix Cygwin workflow HOME variable and add debug output

Co-authored-by: ljharb <45469+ljharb@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-07-03 19:43:14 +00:00
committed by Jordan Harband
parent 1aab8b2d5a
commit 0215ef8203

View File

@@ -72,8 +72,11 @@ jobs:
unset npm_config_prefix
export NVM_INSTALL_GITHUB_REPO="$NVM_INSTALL_GITHUB_REPO"
export NVM_INSTALL_VERSION="$NVM_INSTALL_VERSION"
export HOME="$(cygpath -u "$USERPROFILE")"
echo "HOME is $HOME"
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
ls -l $HOME/.nvm
. "$HOME/.nvm/nvm.sh"
nvm install --lts