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

master
Davide Depau 3 years ago
parent 44464674a0
commit ae1126bc76
No known key found for this signature in database
GPG Key ID: F7F589B2907FBD24

@ -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 ',' ' ')

Loading…
Cancel
Save