1
0
Fork 1
mirror of https://github.com/heyhusen/archlinux-package-action.git synced 2025-04-01 17:15:01 +02:00

Run pacman as root

This commit is contained in:
Tyler Cook 2025-02-28 20:24:03 -06:00
parent 4076a2bcdb
commit cfcd11665c
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ inputs:
runs:
using: 'docker'
image: 'docker://ghcr.io/heyhusen/archlinux-package-action:2'
image: Dockerfile
args:
- ${{ inputs.path }}
- ${{ inputs.pkgver }}

View file

@ -16,7 +16,7 @@ echo "::endgroup::"
# Update archlinux-keyring
if [[ $INPUT_ARCHLINUX_KEYRING == true ]]; then
echo "::group::Updating archlinux-keyring"
pacman -Syu archlinux-keyring
sudo pacman -Syu archlinux-keyring
echo "::endgroup::"
fi