From d3fdf1466fbe31d7e9e8cd4b23156f75f264900a Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 27 Feb 2022 18:14:40 -0300 Subject: [PATCH] Update pkgbuild.sh --- pkgbuild.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgbuild.sh b/pkgbuild.sh index b7d588b..230d2fd 100644 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -1,17 +1,14 @@ #!/usr/bin/env bash pacman -Syu --noconfirm --needed base-devel -useradd builder -m -echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers -chmod -R a+rw . baseDir="$PWD" cd "${INPUT_PKGDIR:-.}" oldFiles=$(find -H "$PWD") -sudo -H -u builder makepkg --syncdeps --noconfirm ${INPUT_MAKEPKGARGS:-} +sudo -H -u nobody makepkg --syncdeps --noconfirm -sudo -H -u builder makepkg --printsrcinfo > .SRCINFO +sudo -H -u nobody makepkg --printsrcinfo > .SRCINFO echo "::set-output name=srcInfo::.SRCINFO" sudo mv .SRCINFO /github/workspace