Skip to content

Commit d08e1bf

Browse files
authored
Sonar: more checking env
1 parent d076436 commit d08e1bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ jobs:
5656
- name: Prepare environment
5757
run: |
5858
ls -l -d /usr /usr/bin
59-
ls -l /usr/bin/ifconfig || true
59+
ls -l /usr/bin/ifconfig /usr/sbin/ifconfig || true
60+
which ifconfig || true
6061
sudo chmod u+w /usr/bin
62+
sudo touch /usr/bin/ifconfig
6163
sudo echo -e '#!/bin/bash\nexit 0' > /usr/bin/ifconfig
6264
sudo chmod a+x /usr/bin/ifconfig
6365
- name: Install sonar-scanner and build-wrapper

0 commit comments

Comments
 (0)