diff --git a/.gitea/workflows/validation.yaml b/.gitea/workflows/validation.yaml index 3dee68c..01a9a6c 100644 --- a/.gitea/workflows/validation.yaml +++ b/.gitea/workflows/validation.yaml @@ -19,8 +19,11 @@ jobs: - name: Create and become build user run: | - useradd --create-home builder - su builder + useradd builduser -m # Create the builduser + passwd -d builduser # Delete the buildusers password + printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo + su builduser && cd + # This is only temporary, for bootstrapping, until this repo itself contains aurutils and can be installed via the repo - name: Install aurutils @@ -30,5 +33,5 @@ jobs: git clone https://aur.archlinux.org/aurutils.git cd aurutils pwd - makepkg -sirc + makepkg -si