I’m setting up a composite action; at some point I compile and run an application to make sure it completes its execution without throwing an error. Its output is irrelevant however (I just want to make sure that the executable returns 0). How can I redirect the output to /dev/null
so that it doesn’t clutter the console/log?
In a normal Linux environment I would do ./myapp 1> /dev/null
but that doesn’t seem to work with the GitHub-hosted runners.