Skip to content

Commit 3ef1da6

Browse files
authored
Add missing sudo
1 parent 51f3212 commit 3ef1da6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-oneapi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939

4040
- name: Setup Intel oneAPI compiler
4141
run: |
42-
apt-get update
43-
apt-get install -y wget gpg
44-
wget -q -O - https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor --output /etc/apt/trusted.gpg.d/oneapi.gpg
45-
echo 'deb [trusted=yes] https://apt.repos.intel.com/oneapi all main' >/etc/apt/sources.list.d/oneapi.list
46-
apt-get update
47-
apt-get install -y intel-oneapi-compiler-dpcpp-cpp cmake git ccache
42+
sudo apt-get update
43+
sudo apt-get install -y wget gpg
44+
wget -q -O - https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/oneapi.gpg
45+
sudo echo 'deb [trusted=yes] https://apt.repos.intel.com/oneapi all main' >/etc/apt/sources.list.d/oneapi.list
46+
sudo apt-get update
47+
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp cmake git ccache
4848
4949
- name: CMake
5050
run: |

0 commit comments

Comments
 (0)