From 1c1ee27d1d9d5c38bb4e3774b24b19738bd01be5 Mon Sep 17 00:00:00 2001 From: Vince JV <1276544+vincejv@users.noreply.github.com> Date: Sat, 21 Dec 2024 16:15:08 +0800 Subject: [PATCH] Fix CI remove cleanup Signed-off-by: Vince JV <1276544+vincejv@users.noreply.github.com> --- .github/workflows/build.yml | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e33e1c6795f22..eed25197ee5ad7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,25 +25,25 @@ jobs: runs-on: ubuntu-latest 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 systemctl daemon-reload - sudo -E apt -y autoremove --purge - sudo -E apt clean - sudo -E timedatectl set-timezone "Asia/Shanghai" - sudo rm -rf /usr/share/dotnet - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf "$AGENT_TOOLSDIRECTORY" # Python installations + # - 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 systemctl daemon-reload + # sudo -E apt -y autoremove --purge + # sudo -E apt clean + # sudo -E timedatectl set-timezone "Asia/Shanghai" + # sudo rm -rf /usr/share/dotnet + # sudo rm -rf /opt/ghc + # sudo rm -rf "/usr/local/share/boost" + # sudo rm -rf "$AGENT_TOOLSDIRECTORY" # Python installations - name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main