fix permissions

This commit is contained in:
Dominic 2023-03-25 13:41:30 +01:00
parent 36c1e27090
commit 217a154fc4
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -18,7 +18,7 @@ runs:
with:
entrypoint: bash
args: |
-c 'useradd user && echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user && su -c "makepkg -s" - user'
-c 'useradd -m user && echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user && chmod 777 . && su -c "makepkg -s" - user'
- name: Ensure .SRCINFO is up to date
uses: docker://docker.io/library/archlinux:base-devel