whatever yaml

This commit is contained in:
Dominic 2023-03-25 13:40:12 +01:00
parent f8cac5052d
commit 36c1e27090
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -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