Skip to content

Commit 1b0ec00

Browse files
committed
aur hotfix
1 parent 53c7627 commit 1b0ec00

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/update-aur.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@ jobs:
5858
cd aur-repo
5959
docker run --rm -v $(pwd):/pkg archlinux:latest /bin/bash -c "
6060
pacman -Syu --noconfirm
61-
pacman -S --noconfirm namcap
62-
cd /pkg
63-
makepkg --printsrcinfo > .SRCINFO
61+
pacman -S --noconfirm namcap sudo
62+
useradd -m builder
63+
chown -R builder:builder /pkg
64+
sudo -u builder bash -c 'cd /pkg && makepkg --printsrcinfo > .SRCINFO'
6465
"
6566
6667
- name: Commit and push to AUR

0 commit comments

Comments
 (0)