Upgrade image before building packages
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Davide Depau 2020-04-30 01:46:07 +02:00
parent 44464674a0
commit ae1126bc76
No known key found for this signature in database
GPG Key ID: F7F589B2907FBD24
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ if [ "$PLUGIN_AUTO_MAKEFLAGS" != "no" ]; then
echo "MAKEFLAGS='-j$(nproc)'" | sudo tee -a /etc/makepkg.conf
fi
echo "Upgrading image"
yay -Syu --noprogressbar --noconfirm --mflags=-A
if [ "$PLUGIN_INSTALL" != "" ]; then
echo "Installing packages before build: $PLUGIN_INSTALL"
yay -Syu --noprogressbar --noconfirm --mflags=-A $(echo "$PLUGIN_INSTALL" | tr ',' ' ')