Skip to content

Commit bc1f379

Browse files
committed
.
1 parent e9e84b1 commit bc1f379

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ jobs:
141141
- name: Install cmake (non-default version)
142142
if: matrix.cmake_ver != 'default'
143143
run: |
144-
sudo apt-get remove --purge -y cmake
144+
sudo su
145+
apt-get remove --purge -y cmake
145146
wget https://github.com/Kitware/CMake/releases/download/v${{matrix.cmake_ver}}/cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
146-
sudo chmod +x cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
147+
chmod +x cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
147148
./cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh --skip-license --prefix=/usr/local
148149
149150
- name: Uninstall TBB apt package

0 commit comments

Comments
 (0)