From 04e1ef56b3c3653e0195733d36b1f06747f42ac4 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 4 Nov 2022 14:01:56 -0700 Subject: [PATCH] [ci] remove sudo in install dependency scripts as docker build does not support it --- .github/workflows/build.yml | 4 ++-- .github/workflows/install_dependencies_build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 868dce978..f6bd2d7f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,7 +119,7 @@ jobs: submodules: true - name: Install dependencies - run: ./.github/workflows/install_dependencies_build.sh + run: bash ./.github/workflows/install_dependencies_build.sh - name: Dump tool versions run: | @@ -200,7 +200,7 @@ jobs: submodules: true - name: Install dependencies - run: ./.github/workflows/install_dependencies_build.sh + run: bash ./.github/workflows/install_dependencies_build.sh - name: Dump tool versions run: | diff --git a/.github/workflows/install_dependencies_build.sh b/.github/workflows/install_dependencies_build.sh index 25354475c..897b405d9 100755 --- a/.github/workflows/install_dependencies_build.sh +++ b/.github/workflows/install_dependencies_build.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash # The package list is designed for Ubuntu 20.04 LTS -sudo apt-get update -sudo apt-get install -y \ +apt-get update +apt-get install -y \ autoconf \ automake \ bison \