@@ -20,25 +20,27 @@ jobs:
20
20
21
21
name : Build OpenWrt Firmware
22
22
23
- runs-on : ubuntu-latest
23
+ runs-on : ubuntu-22.04
24
24
25
25
steps :
26
26
- name : Space cleanup and Initialization environment
27
27
env :
28
28
DEBIAN_FRONTEND : noninteractive
29
29
run : |
30
+ docker rmi `docker images -q`
30
31
sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android
31
32
sudo -E apt-mark hold grub-efi-amd64-signed
32
33
sudo -E apt update
34
+ sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap*
33
35
sudo -E apt -y full-upgrade
34
- sudo -E apt -y install ack antlr3 aria2 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
36
+ sudo -E apt -y install ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache clang cmake cpio curl device-tree-compiler flex gawk gcc-multilib g++-multilib gettext genisoimage git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev libssl-dev libtool llvm lrzsz msmtp ninja-build p7zip p7zip-full patch pkgconf python3 python3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
35
37
sudo -E systemctl daemon-reload
36
38
sudo -E apt -y autoremove --purge
37
39
sudo -E apt clean
38
40
sudo -E timedatectl set-timezone "Asia/Shanghai"
39
41
40
42
- name : Checkout OpenWrt
41
- uses : actions/checkout@v3
43
+ uses : actions/checkout@v4
42
44
43
45
- name : Update feeds
44
46
run : |
@@ -73,19 +75,19 @@ jobs:
73
75
cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ./artifact/buildinfo/
74
76
75
77
- name : Upload buildinfo
76
- uses : actions/upload-artifact@v3
78
+ uses : actions/upload-artifact@v4
77
79
with :
78
80
name : OpenWrt_buildinfo
79
81
path : ./artifact/buildinfo/
80
82
81
83
- name : Upload package
82
- uses : actions/upload-artifact@v3
84
+ uses : actions/upload-artifact@v4
83
85
with :
84
86
name : OpenWrt_package
85
87
path : ./artifact/package/
86
88
87
89
- name : Upload firmware
88
- uses : actions/upload-artifact@v3
90
+ uses : actions/upload-artifact@v4
89
91
with :
90
92
name : OpenWrt_firmware
91
93
path : ./bin/targets/
0 commit comments