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:
parent
4076a2bcdb
commit
cfcd11665c
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ inputs:
|
|||
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'docker://ghcr.io/heyhusen/archlinux-package-action:2'
|
||||
image: Dockerfile
|
||||
args:
|
||||
- ${{ inputs.path }}
|
||||
- ${{ inputs.pkgver }}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue