mirror actions/setup-node@v3

This commit is contained in:
action-mirror
2026-09-13 22:52:40 +08:00
commit b92d59b49e
191 changed files with 217825 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
if [ -n "$1" ]; then
architecture="$(node -e 'console.log(process.arch)')"
if [ -z "$(echo $architecture | grep --fixed-strings $1)" ]; then
echo "Unexpected architecture"
exit 1
fi
else
echo "Skip testing architecture"
fi