[ci] remove sudo in install dependency scripts as docker build does not support it

This commit is contained in:
tangxifan 2022-11-04 14:01:56 -07:00
parent fa37fccad4
commit 04e1ef56b3
2 changed files with 4 additions and 4 deletions

View File

@ -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: |

View File

@ -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 \