feat: can now use packages from archpkgs repo

This commit is contained in:
Carlos Galindo 2026-06-17 10:22:53 +02:00
commit 394783d3d4

View file

@ -20,6 +20,13 @@ runs:
name: Install build tools
run: |
echo "##[group]Installing dependencies"
curl https://git.cgj.es/api/packages/archpkgs/arch/repository.key | pacman-key --add -
pacman-key --lsign-key 'archpkgs@noreply.git.cgj.es'
cat >> /etc/pacman.conf <<EOF
[archpkgs.git.cgj.es]
SigLevel = Required
Server = https://git.cgj.es/api/packages/archpkgs/arch/pkgs/$arch
EOF
pacman -Sy --noconfirm --noprogressbar git sudo nodejs ${{ inputs.extra_pkgs }}
echo "##[endgroup]"
useradd --create-home --shell=/bin/false builder && usermod --lock builder