Remove setup step from build workflow

Dependencies (git, curl, builder user) are now provided by the
custom act_runner image. Only su builder for makepkg remains.
This commit is contained in:
nevaforget 2026-04-01 16:17:49 +02:00
parent 2131182065
commit 6cf9bcd467

View File

@ -14,14 +14,6 @@ jobs:
build-and-publish:
runs-on: moonarch
steps:
- name: Setup build environment
run: |
pacman -Sy --noconfirm git curl
# makepkg refuses to run as root — create a build user
useradd -m builder
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
- name: Build and publish changed packages
run: |
git clone http://gitea:3000/nevaforget/moonarch-pkgbuilds.git repo