From cfcd11665c660d9f182218e98c1e4eb088f424d1 Mon Sep 17 00:00:00 2001 From: Tyler Cook <10459406+cilki@users.noreply.github.com> Date: Fri, 28 Feb 2025 20:24:03 -0600 Subject: [PATCH] Run pacman as root --- action.yml | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 7eb60eb..c75a21f 100644 --- a/action.yml +++ b/action.yml @@ -46,7 +46,7 @@ inputs: runs: using: 'docker' - image: 'docker://ghcr.io/heyhusen/archlinux-package-action:2' + image: Dockerfile args: - ${{ inputs.path }} - ${{ inputs.pkgver }} diff --git a/entrypoint.sh b/entrypoint.sh index 1fa28c5..6bce09b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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