Skip to content

Commit 123fadb

Browse files
authored
Update mulle-sde-ci.i686.yml
The usual sudo, no sudo bother
1 parent 1564097 commit 123fadb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/mulle-sde-ci.i686.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ jobs:
2828
- name: Add to path
2929
run: echo "$HOME/bin" >> $GITHUB_PATH
3030

31+
- name: Figure out if sudo is needed
32+
run: |
33+
echo "SUDO=$(which sudo)" >> $GITHUB_ENV
34+
3135
- name: Add 32 bit stuff
3236
run: |
33-
dpkg --add-architecture i386
34-
apt-get update
35-
apt-get install libc6:i386 gcc-multilib
37+
${SUDO} dpkg --add-architecture i386
38+
${SUDO} apt-get update
39+
${SUDO} apt-get install libc6:i386 gcc-multilib
3640
3741
- uses: actions/checkout@v3
3842

0 commit comments

Comments
 (0)