Skip to content

Commit e818131

Browse files
committed
chore: stricter node module checks for linux
1 parent 5298c89 commit e818131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/enforce_static_builds/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
fi
3535
elif [ "$RUNNER_OS" == "Linux" ]; then
3636
ldd "$node_file"
37-
if ldd "$node_file" | grep -Ev 'linux-vdso|ld-linux|libstdc\+\+|libgcc_s|libc\.so|libm\.so'; then
37+
if ldd "$node_file" | grep -Ev '(linux-vdso\.so\.[0-9]+|ld-linux-(x86-64|armhf|aarch64)\.so\.[0-9]+|lib(stdc\+\+|gcc_s|c|m)\.so\.[0-9]+)'; then
3838
bad=1
3939
fi
4040
else

0 commit comments

Comments
 (0)