fix: use v22 on armv7l instead

This commit is contained in:
Jakub Panek
2026-01-24 02:40:44 +01:00
committed by GitHub
parent 9bf5e40138
commit f9df13bfac
+3
View File
@@ -123,6 +123,9 @@ printf "\n\t🐋 Installed moby-buildx 🐋\t\n"
docker buildx version
IFS=' ' read -r -a NODE <<<"$NODE_VERSION"
for ver in "${NODE[@]}"; do
if [[ "${ver}" == "24" && "$(node_arch)" == "armv7l"]]; then
ver="22" # rip arm32/v7
fi
printf "\n\t🐋 Installing Node.JS=%s 🐋\t\n" "${ver}"
VER=$(curl https://nodejs.org/download/release/index.json | jq "[.[] | select(.version|test(\"^v${ver}\"))][0].version" -r)
NODEPATH="${ACT_TOOLSDIRECTORY}/node/${VER:1}/$(node_arch)"