Skip to content

Commit 8cad99f

Browse files
committed
.github: Use runuser instead of su
1 parent 83c888b commit 8cad99f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/linux-firmware.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
export MAKEFLAGS="-j2"
3737
3838
# Build
39-
su nobody --pty -p -s /bin/bash -c 'makepkg -f --syncdeps --skippgpcheck --noconfirm'
39+
runuser -u nobody -- makepkg -f --syncdeps --skippgpcheck --noconfirm
4040
4141
- name: Prepare release
4242
run: |

.github/workflows/linux-surface.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
chown -R nobody .
3636
3737
# Build and install
38-
su nobody --pty -p -s /bin/bash -c 'makepkg -fi --syncdeps --skippgpcheck --noconfirm'
38+
runuser -u nobody -- makepkg -fi --syncdeps --skippgpcheck --noconfirm
3939
4040
- name: Build Package
4141
run: |
@@ -50,7 +50,7 @@ jobs:
5050
export MAKEFLAGS="-j2"
5151
5252
# Build
53-
su nobody --pty -p -s /bin/bash -c 'makepkg-aarch64 -f --syncdeps --skippgpcheck --noconfirm'
53+
runuser -u nobody -- makepkg-aarch64 -f --syncdeps --skippgpcheck --noconfirm
5454
5555
- name: Prepare release
5656
run: |

0 commit comments

Comments
 (0)