move tools out of /opt/hostedtoolcache due it beeing a mounted volume (#121)

We can define ACT_TOOLSDIRECTORY back to /opt/hostedtoolcache to revert this
This commit is contained in:
ChristopherHX
2024-01-30 22:22:39 +01:00
committed by GitHub
parent 1cb15e3411
commit c8a0963004
5 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ JSON=$(wget -qO- https://nodejs.org/download/release/index.json | jq --compact-o
for V in "${versions[@]}"; do
printf "\n\t🐋 Installing NODE=%s 🐋\t\n" "${V}"
VER=$(echo "${JSON}" | jq "[.[] | select(.version|test(\"^v${V}\"))][0].version" -r)
NODEPATH="$AGENT_TOOLSDIRECTORY/node/${VER:1}/x64"
NODEPATH="${ACT_TOOLSDIRECTORY}/node/${VER:1}/x64"
mkdir -v -m 0777 -p "$NODEPATH"
ARCH=$(uname -m)