Skip to content

Commit f9df13b

Browse files
authored
fix: use v22 on armv7l instead
1 parent 9bf5e40 commit f9df13b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

linux/ubuntu/scripts/act.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ printf "\n\t🐋 Installed moby-buildx 🐋\t\n"
123123
docker buildx version
124124
IFS=' ' read -r -a NODE <<<"$NODE_VERSION"
125125
for ver in "${NODE[@]}"; do
126+
if [[ "${ver}" == "24" && "$(node_arch)" == "armv7l"]]; then
127+
ver="22" # rip arm32/v7
128+
fi
126129
printf "\n\t🐋 Installing Node.JS=%s 🐋\t\n" "${ver}"
127130
VER=$(curl https://nodejs.org/download/release/index.json | jq "[.[] | select(.version|test(\"^v${ver}\"))][0].version" -r)
128131
NODEPATH="${ACT_TOOLSDIRECTORY}/node/${VER:1}/$(node_arch)"

0 commit comments

Comments
 (0)