feat: Replace paru with yay
Paru has not been updated in months and is incompatible with the current version of pacman / libalpm, which is v16.0.0. See upstream issue [1]. Replace paru with yay so the action works again. Also updated CI test with latest Spotify as the old version is gone now. [1] https://github.com/Morganamilo/paru/issues/1454
This commit is contained in:
+3
-3
@@ -76,11 +76,11 @@ if [[ $INPUT_NAMCAP == true ]]; then
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
||||
# Install depends using paru from aur
|
||||
# Install depends using yay from aur
|
||||
if [[ $INPUT_AUR == true ]]; then
|
||||
echo "::group::Installing depends using paru"
|
||||
echo "::group::Installing depends using yay"
|
||||
source PKGBUILD
|
||||
paru -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
|
||||
yay -Syu --removemake --needed --noconfirm "${depends[@]}" "${makedepends[@]}"
|
||||
echo "::endgroup::"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user