From 10cd0f0831ac84f02fcb8ddab81d5bd305b3830c Mon Sep 17 00:00:00 2001 From: Internet1235 <135099493+Internet1235@users.noreply.github.com> Date: Fri, 17 Jan 2025 21:20:04 +0800 Subject: [PATCH] action: update apt dependencies --- .github/workflows/openwrt-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/openwrt-ci.yml b/.github/workflows/openwrt-ci.yml index 3a404689225ee4..004ed5ee900f4c 100644 --- a/.github/workflows/openwrt-ci.yml +++ b/.github/workflows/openwrt-ci.yml @@ -20,25 +20,27 @@ jobs: name: Build OpenWrt Firmware - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Space cleanup and Initialization environment env: DEBIAN_FRONTEND: noninteractive run: | + docker rmi `docker images -q` sudo -E rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/apt/sources.list.d /usr/local/lib/android sudo -E apt-mark hold grub-efi-amd64-signed sudo -E apt update + sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap* sudo -E apt -y full-upgrade - 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 + 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 sudo -E systemctl daemon-reload sudo -E apt -y autoremove --purge sudo -E apt clean sudo -E timedatectl set-timezone "Asia/Shanghai" - name: Checkout OpenWrt - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update feeds run: | @@ -73,19 +75,19 @@ jobs: cp -rf $(find ./bin/targets/ -type f -name "*.buildinfo" -o -name "*.manifest") ./artifact/buildinfo/ - name: Upload buildinfo - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: OpenWrt_buildinfo path: ./artifact/buildinfo/ - name: Upload package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: OpenWrt_package path: ./artifact/package/ - name: Upload firmware - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: OpenWrt_firmware path: ./bin/targets/