From 8c88933e6696f95364cf7a7ec57eee5662ddb351 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Fri, 15 Mar 2024 16:40:32 +0000 Subject: [PATCH] [ci] Add missing sudo in CI We are switching to use non-root GitHub action runners, which need sudo for global package installation. Signed-off-by: Gary Guo --- ci/install-build-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/install-build-deps.sh b/ci/install-build-deps.sh index 1da949aee9..63dc96427b 100755 --- a/ci/install-build-deps.sh +++ b/ci/install-build-deps.sh @@ -85,7 +85,7 @@ case "$ID-$VERSION_ID" in cd build/verible curl -Ls -o verible.tar.gz "https://github.com/google/verible/releases/download/$VERIBLE_VERSION/verible-$VERIBLE_VERSION-Ubuntu-$VERSION_ID-$VERSION_CODENAME-x86_64.tar.gz" $SUDO_CMD mkdir -p /tools/verible && $SUDO_CMD chmod 777 /tools/verible - tar -C /tools/verible -xf verible.tar.gz --strip-components=1 + $SUDO_CMD tar -C /tools/verible -xf verible.tar.gz --strip-components=1 echo "##vso[task.prependpath]/tools/verible/bin" echo "/tools/verible/bin" >> $GITHUB_PATH ;;