use yay instead of pacman
This commit is contained in:
parent
58f13c48ad
commit
c0ac367326
1 changed files with 8 additions and 1 deletions
|
@ -18,7 +18,14 @@ runs:
|
|||
with:
|
||||
entrypoint: bash
|
||||
args: |
|
||||
-c 'useradd -m user && echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user && chmod 777 . && pacman -Syu --noconfirm && sudo -u user -- makepkg -s'
|
||||
-euo pipefail -c '
|
||||
pacman -Syu --noconfirm git
|
||||
(cd ~; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg -si --noconfirm)
|
||||
useradd -m user
|
||||
echo "user ALL=(ALL:ALL) NOPASSWD: ALL" >/etc/sudoers.d/user
|
||||
chmod 777 .
|
||||
sudo -u user -- PACMAN=yay makepkg -s --noconfirm
|
||||
'
|
||||
|
||||
- name: Ensure .SRCINFO is up to date
|
||||
uses: docker://docker.io/library/archlinux:base-devel
|
||||
|
|
Loading…
Reference in a new issue