File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,12 @@ jobs:
156156 - name : Install cmake (non-default version)
157157 if : matrix.cmake_ver != 'default'
158158 run : |
159- echo ${USERPASS} | sudo -Sk apt-get remove --purge -y cmake
160- wget https://github.com/Kitware/CMake/releases/download/v${{matrix.cmake_ver}}/cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
161- chmod +x cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
162- ./cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh --skip-license --prefix=/usr/local
159+ echo ${USERPASS} | sudo -Sk bash -c "
160+ apt-get remove --purge -y cmake
161+ wget https://github.com/Kitware/CMake/releases/download/v${{matrix.cmake_ver}}/cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
162+ chmod +x cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh
163+ ./cmake-${{matrix.cmake_ver}}-Linux-x86_64.sh --skip-license --prefix=/usr/local
164+ "
163165
164166 - name : Uninstall TBB apt package
165167 if : matrix.install_tbb == 'OFF'
You can’t perform that action at this time.
0 commit comments