Skip to content

Commit

Permalink
Free up more disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
devbis committed Sep 6, 2023
1 parent 413fa6b commit 39e4ef1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ jobs:

# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
id: buildx-qemy
id: buildx-qemu
if: env.SKIP_TARGET == '0'
uses: docker/setup-qemu-action@v2

# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
id: buildx
Expand Down
2 changes: 1 addition & 1 deletion scripts/host/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set +eo pipefail
export DEBIAN_FRONTEND=noninteractive

echo "Deleting files, please wait ..."
sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d/* /var/cache/apt/archives /usr/local/share/boost /usr/local/go* /usr/local/lib/android /opt/ghc
sudo rm -rf /usr/share/dotnet /etc/apt/sources.list.d/* /var/cache/apt/archives /usr/local/share/boost /usr/local/go* /usr/local/lib/android /opt/az /opt/ghc /opt/google /opt/microsoft /opt/pipx/venvs /opt/hostedtoolcache/CodeQL /opt/hostedtoolcache/go /opt/hostedtoolcache/Python
sudo swapoff /swapfile
sudo rm -f /swapfile
docker rmi "$(docker images -q)"
Expand Down

0 comments on commit 39e4ef1

Please sign in to comment.