Skip to content

Commit 22b1030

Browse files
committed
.
1 parent 8a32b3f commit 22b1030

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/reusable_basic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
- name: Install cmake (non-default version)
142142
if: matrix.cmake_ver != 'default'
143143
run: |
144-
echo ${USERPASS} | sudo -Sk bash -c <<EOF
144+
sudo bash <<EOF
145145
apt-get remove --purge -y cmake
146146
wget https://github.com/Kitware/CMake/releases/download/v${{ matrix.cmake_ver }}/cmake-${{ matrix.cmake_ver }}-Linux-x86_64.sh
147147
chmod +x cmake-${{ matrix.cmake_ver }}-Linux-x86_64.sh
@@ -156,7 +156,7 @@ jobs:
156156
- name: Install oneAPI basekit
157157
if: matrix.compiler.cxx == 'icpx'
158158
run: |
159-
echo ${USERPASS} | sudo -Sk bash -c <<EOF
159+
sudo bash <<EOF
160160
apt-get update
161161
apt-get install -y gpg-agent gnupg
162162
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor -o /usr/share/keyrings/oneapi-archive-keyring.gpg

0 commit comments

Comments
 (0)