update packages before build

This commit is contained in:
Cory Sanin 2025-01-08 01:42:25 -05:00
parent b31ff30963
commit 37e5453182
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ on:
branches: [ master ]
push:
branches: [ master ]
paths: [ docker/* ]
paths: [ docker/*, docker/scripts/* ]
pull_request:
branches: [ master ]
paths: [ docker/* ]

View File

@ -15,7 +15,8 @@ then
fi
# Clone the git repo
git clone "$REPO" /home/user/pkg
cd /home/user/pkg
git clone "$REPO" /home/user/pkg && \
cd /home/user/pkg && \
sudo pacman -Syu --noconfirm --noprogressbar &&\
makepkg -smf --noconfirm --noprogressbar --skippgpcheck --noarchive
exit $?;