add option to update archlinux-keyring

This commit is contained in:
ReenigneArcher
2022-07-28 18:42:50 -04:00
parent 2d9dafa60e
commit c9118ad67a
3 changed files with 23 additions and 10 deletions
+7
View File
@@ -13,6 +13,13 @@ cp -rfv "$GITHUB_WORKSPACE"/.git ./
cp -fv "$WORKPATH"/PKGBUILD ./
echo "::endgroup::"
# Update archlinux-keyring
if [[ $INPUT_ARCHLINUX_KEYRING == true ]]; then
echo "::group::Updating archlinux-keyring"
pacman -S archlinux-keyring
echo "::endgroup::"
fi
# Update pkgver
if [[ -n $INPUT_PKGVER ]]; then
echo "::group::Updating pkgver on PKGBUILD"