feat: can now use packages from archpkgs repo
This commit is contained in:
parent
06b96d910b
commit
394783d3d4
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue