Skip to content

Commit 0215ef8

Browse files
Copilotljharb
andcommitted
[actions] Fix Cygwin workflow HOME variable and add debug output
Co-authored-by: ljharb <[email protected]>
1 parent 1aab8b2 commit 0215ef8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/windows-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,11 @@ jobs:
7272
unset npm_config_prefix
7373
export NVM_INSTALL_GITHUB_REPO="$NVM_INSTALL_GITHUB_REPO"
7474
export NVM_INSTALL_VERSION="$NVM_INSTALL_VERSION"
75+
export HOME="$(cygpath -u "$USERPROFILE")"
7576
77+
echo "HOME is $HOME"
7678
curl -fsSLo- "https://raw.githubusercontent.com/${NVM_INSTALL_GITHUB_REPO}/${NVM_INSTALL_VERSION}/install.sh" | bash
79+
ls -l $HOME/.nvm
7780
. "$HOME/.nvm/nvm.sh"
7881
nvm install --lts
7982

0 commit comments

Comments
 (0)