From c1ac0f985637fda357c0c421ae91fadf6c5d5dcb Mon Sep 17 00:00:00 2001 From: XXTXTOP Date: Sat, 3 Jun 2023 15:08:41 +0800 Subject: [PATCH] Update build_action.sh --- build_action.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_action.sh b/build_action.sh index 1dcc67b..a1f56b3 100644 --- a/build_action.sh +++ b/build_action.sh @@ -6,9 +6,9 @@ VERSION=$(grep 'Kernel Configuration' < config | awk '{print $3}') sed -i "/deb-src/s/# //g" /etc/apt/sources.list # install dep -sudo apt update -sudo apt install -y wget xz-utils make gcc flex bison dpkg-dev bc rsync kmod cpio libssl-dev git lsb vim libelf-dev -sudo apt build-dep -y linux +apt update +apt install -y wget xz-utils make gcc flex bison dpkg-dev bc rsync kmod cpio libssl-dev git lsb vim libelf-dev +apt build-dep -y linux # change dir to workplace cd "${GITHUB_WORKSPACE}" || exit