Skip to content

Commit

Permalink
feat: add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
cxz66666 committed Apr 15, 2024
1 parent 0a0ba45 commit eb34d26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
VERSION="5.15.102"

# # add deb-src to sources.list
# sed -i "/deb-src/s/# //g" /etc/apt/sources.list
sed -i "/deb-src/s/# //g" /etc/apt/sources.list

# install dep
apt update
apt install -y wget git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison
apt build-dep -y linux
sudo apt update
sudo apt install -y wget git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison
sudo apt build-dep -y linux

# change dir to workplace
cd "${GITHUB_WORKSPACE}" || exit
Expand Down

0 comments on commit eb34d26

Please sign in to comment.