Skip to content

Commit 2530527

Browse files
committed
fix: free apt space before CI dependency install
1 parent bff86b3 commit 2530527

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/OpenWrt-Matrix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ jobs:
188188
env:
189189
DEBIAN_FRONTEND: noninteractive
190190
run: |
191-
sudo -E apt-get -qq update
191+
sudo rm -rf /var/lib/apt/lists/* || true
192+
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL || true
193+
sudo -E apt-get -o Acquire::Languages=none -qq update
192194
sudo /bin/bash -c "$(curl -sL https://git.io/vokNn)"
193195
sudo -E apt-fast -y -qq install asciidoc bash bin86 binutils bison bzip2 clang file flex g++ g++-multilib gawk gcc-multilib gettext git gzip help2man intltool libbpf-dev libelf-dev libncurses-dev libssl-dev libthread-queue-any-perl libusb-dev libxml-parser-perl make patch perl-modules pkg-config python3-dev python3-pip python3-pyelftools python3-setuptools rsync sharutils swig time unzip util-linux wget xsltproc zlib1g-dev zip zstd
194196
sudo -E apt-fast -y -qq install dos2unix dwarves jq npm quilt xz-utils

0 commit comments

Comments
 (0)