From d7c087a9acffcea56ee92402f573bb20f18f27ca Mon Sep 17 00:00:00 2001 From: Jelle Sebreghts Date: Wed, 9 Oct 2024 15:24:56 +0200 Subject: [PATCH] Update install: binary only Only install the binary, do not try to compile from source, it takes up too many Github Action minutes. Better to just fail and let the user retry the job. --- install.ps1 | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.ps1 b/install.ps1 index 39fa549..611f4bd 100644 --- a/install.ps1 +++ b/install.ps1 @@ -8,7 +8,7 @@ Expand-Archive nvm.zip -DestinationPath "$NVM_HOME" New-Item -Path "$NVM_HOME\settings.txt" -ItemType File nvm.exe root $NVM_HOME nvm.exe node_mirror $args[1] -nvm.exe install $args[0] +nvm.exe install $args[0] -b nvm.exe use $args[0] echo "SETUP_NODE_NVM_NVM: $NVM_HOME" echo "SETUP_NODE_NVM_NODE: $NVM_HOME\nodejs\node.exe" diff --git a/install.sh b/install.sh index df4efe3..7559d8d 100644 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list -- popd chmod +x "$NVM_DIR/nvm.sh" . "$NVM_DIR/nvm.sh" --no-use -nvm install "$1" +nvm install "$1" -b echo "SETUP_NODE_NVM_NVM: $NVM_DIR/nvm.sh" echo "SETUP_NODE_NVM_NODE: $(which node)" echo "SETUP_NODE_NVM_NPM: $(which npm)"