From e2e83efdc25570c0b7e62984b4d0a2f5f62b010b Mon Sep 17 00:00:00 2001 From: Neon <71858127+yyk808@users.noreply.github.com> Date: Mon, 4 Aug 2025 12:17:28 +0800 Subject: [PATCH] Update troubleshooting.md Signed-off-by: Neon <71858127+yyk808@users.noreply.github.com> --- docs/troubleshooting.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 659106b1e..102884d3f 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -1 +1,11 @@ -# Troublesshooting \ No newline at end of file +# Troublesshooting +## How to deploy actions on ubuntu runners +We use `sudo` command to run `apt/apt-get` and install systemdependencies. If you are using a un-priviledged user account, the easist way is edit `sudoers`. +- You should switch to root and enter: +```bash +visudo +``` +- Then add this line into it: +```txt +%your_user_name ALL=(ALL:ALL) NOPASSWD:/usr/bin/apt,/usr/bin/apt-get +```