don't run yay as root

This commit is contained in:
Dominic 2023-03-25 13:58:32 +01:00
parent d00d1a8430
commit f1650f611d
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -27,7 +27,7 @@ runs:
sudo -u user -- bash -c "cd ~ && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --noconfirm" sudo -u user -- bash -c "cd ~ && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si --noconfirm"
chmod 777 . chmod 777 .
sudo -u user PACMAN=yay makepkg -s --noconfirm sudo -u user PACMAN="sudo -u user -- yay" makepkg -s --noconfirm
' '
- name: Ensure .SRCINFO is up to date - name: Ensure .SRCINFO is up to date