Gitea Actions Pipeline Implementation #1
@@ -19,8 +19,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Create and become build user
|
- name: Create and become build user
|
||||||
run: |
|
run: |
|
||||||
useradd --create-home builder
|
useradd builduser -m # Create the builduser
|
||||||
su builder
|
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
|
# This is only temporary, for bootstrapping, until this repo itself contains aurutils and can be installed via the repo
|
||||||
- name: Install aurutils
|
- name: Install aurutils
|
||||||
@@ -30,5 +33,5 @@ jobs:
|
|||||||
git clone https://aur.archlinux.org/aurutils.git
|
git clone https://aur.archlinux.org/aurutils.git
|
||||||
cd aurutils
|
cd aurutils
|
||||||
pwd
|
pwd
|
||||||
makepkg -sirc
|
makepkg -si
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user