ci: fix cache restore builder home perms
This commit is contained in:
parent
3c82d49849
commit
4e9907c39a
1 changed files with 1 additions and 0 deletions
1
.github/actions/setup-arch/action.yml
vendored
1
.github/actions/setup-arch/action.yml
vendored
|
|
@ -30,6 +30,7 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
useradd -m builder
|
useradd -m builder
|
||||||
echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
echo 'builder ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
|
chown -R builder:builder /home/builder
|
||||||
|
|
||||||
sudo -u builder git clone https://aur.archlinux.org/yay-bin.git /home/builder/yay-bin
|
sudo -u builder git clone https://aur.archlinux.org/yay-bin.git /home/builder/yay-bin
|
||||||
cd /home/builder/yay-bin
|
cd /home/builder/yay-bin
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue