Gitea Actions Pipeline Implementation #1

Open
mike wants to merge 16 commits from gitea-actions into master
Showing only changes of commit 2859a996d6 - Show all commits
+2 -3
View File
@@ -15,20 +15,19 @@ jobs:
steps: steps:
- name: Install aurutils dependencies - name: Install aurutils dependencies
shell: bash shell: bash
run: pacman -Syu --noconfirm git run: pacman -Syu --noconfirm git sudo
- name: Create and become build user - name: Create and become build user
run: | run: |
useradd builduser -m # Create the builduser useradd builduser -m # Create the builduser
passwd -d builduser # Delete the buildusers password passwd -d builduser # Delete the buildusers password
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo 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
shell: bash shell: bash
run: | run: |
su builduser && su
pwd pwd
git clone https://aur.archlinux.org/aurutils.git git clone https://aur.archlinux.org/aurutils.git
cd aurutils cd aurutils