Update build_action.sh

This commit is contained in:
debuggerx01 2023-01-06 23:23:08 +08:00 committed by GitHub
parent 1cab7bacc5
commit e16456d555
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
sudo apt build-dep -y linux
apt update
apt install -y wget
apt build-dep -y linux
# change dir to workplace
cd "${GITHUB_WORKSPACE}" || exit