From 36c1e27090c5fe1bc23111d7f56676f4cf1838b1 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sat, 25 Mar 2023 13:40:12 +0100 Subject: [PATCH] whatever yaml --- action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index dc3b1aa..9182690 100644 --- a/action.yml +++ b/action.yml @@ -17,7 +17,8 @@ runs: uses: docker://docker.io/library/archlinux:base-devel with: entrypoint: bash - args: -c 'useradd user && echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user && makepkg -s' + args: | + -c 'useradd user && echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user && su -c "makepkg -s" - user' - name: Ensure .SRCINFO is up to date uses: docker://docker.io/library/archlinux:base-devel