I have a workflow action implemented in Clojure (i.e. running on the JVM) that, as part of its processing, forks a
command -v [something] command to check whether a given binary executable is available or not. However the result is ENOENT (errno 2 - file not found). The
You can see an example of this in this build output.
I also tried fully qualifying it with
/usr/bin/command, but that failed with much the same error.
I have a hard time believing this is a limitation of the GitHub Action ubuntu environment, given that
command is a basic element of POSIX, but I’m stumped as to what I’ve done wrong to make it unavailable. Any ideas or suggestions?