Install package before checkout the repo
This commit is contained in:
@@ -13,12 +13,13 @@ jobs:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Setup packages
|
||||
run: pacman -Sy --noconfirm git pacman-contrib sudo nodejs
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup build user
|
||||
run: |
|
||||
pacman -Sy --noconfirm git pacman-contrib sudo
|
||||
useradd -m builduser
|
||||
echo "builduser ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/builduser
|
||||
chmod 0440 /etc/sudoers.d/builduser
|
||||
|
||||
Reference in New Issue
Block a user