Skip to content

Commit a56a96b

Browse files
authored
Merge pull request #1974 from njfox/aur-ci-dependencies
add --syncdeps to install missing PKGBUILD dependencies
2 parents 3c15540 + 98d1052 commit a56a96b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/linux-aur.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ jobs:
2222
run: |
2323
useradd builduser -m
2424
passwd -d builduser
25+
echo "builduser ALL=(ALL) NOPASSWD: ALL" | tee /etc/sudoers.d/builduser && chmod 440 /etc/sudoers.d/builduser
2526
- name: Build AUR Package
2627
run: |
2728
mkdir /build
2829
git clone https://aur.archlinux.org/pcsx-redux-git.git /build/pcsx-redux-git
2930
chown -R builduser:builduser /build
3031
cd /build/pcsx-redux-git
3132
sed -i s,git+https://github.com/grumpycoders/pcsx-redux.git,git+file://$GITHUB_WORKSPACE#commit=$GITHUB_SHA,g PKGBUILD
32-
sudo -u builduser makepkg
33+
sudo -u builduser bash -c 'makepkg --noconfirm --syncdeps'

0 commit comments

Comments
 (0)