Skip to content

Commit 60f7f54

Browse files
committed
Fix .SRCINFO file ownership
1 parent d3053e1 commit 60f7f54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/aur-update.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ jobs:
149149
useradd -m builder &&
150150
chown -R builder:builder /pkg &&
151151
cd /pkg &&
152-
sudo -u builder makepkg --printsrcinfo > .SRCINFO
152+
sudo -u builder makepkg --printsrcinfo > .SRCINFO &&
153+
chown $(stat -c "%u:%g" PKGBUILD) .SRCINFO
153154
'
154155
155156
echo ".SRCINFO generated successfully"

0 commit comments

Comments
 (0)