Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca89983d8b | ||
|
|
25c0e4f0a9 | ||
|
|
02ca88e218 |
@@ -4,33 +4,16 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronized, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
resolve-dependencies:
|
resolve-dependencies:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: archlinux:base-devel
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install aurutils dependencies
|
- name: Echo Test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: pacman -Syu --noconfirm git sudo
|
run: echo "Actions runner working"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Create and become build user
|
|
||||||
run: |
|
|
||||||
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
|
|
||||||
|
|
||||||
# This is only temporary, for bootstrapping, until this repo itself contains aurutils and can be installed via the repo
|
|
||||||
- name: Install aurutils
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
su - builduser -c '
|
|
||||||
set -e
|
|
||||||
cd
|
|
||||||
git clone https://aur.archlinux.org/aurutils.git
|
|
||||||
cd aurutils
|
|
||||||
makepkg -si --noconfirm
|
|
||||||
'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user