Skip to content

Commit 0011f04

Browse files
authored
fix update issue
1 parent 2a3167a commit 0011f04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
4444
source /etc/os-release && echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ ${UBUNTU_CODENAME} main" | \
4545
sudo tee /etc/apt/sources.list.d/kitware.list >/dev/null
46-
apt-get update
47-
apt-get install -y cmake
46+
sudo apt-get update
47+
sudo apt-get install -y cmake
4848
- name: Configure CMake
4949
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
5050
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type

0 commit comments

Comments
 (0)