Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: handle sudo in actions-install.sh
We run our tests as root in containers and VMs. Those platforms do not have sudo when running Debian-based Linux distributions. Use a small bash function to eliminate the need to install sudo when we are running as root. This function just checks for the existence of sudo and uses it when installed but does nothing when it is not installed. Using this function eliminates the need to install sudo before we start installing all the other packages. Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
- Loading branch information