Skip to content

Commit

Permalink
Update build_rpi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NobuoTsukamoto authored Mar 30, 2024
1 parent 00645ad commit 82146a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build_rpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
# https://zenn.dev/pinto0309/scraps/c6413eb15a1b2a
- name: Check space before cleanup
run: |
docker images
sudo rm -rf "/home/work/*" || true
sudo rm -rf "/opt/*" || true
sudo rm -rf "/usr/share/dotnet" || true
Expand Down Expand Up @@ -85,6 +86,7 @@ jobs:
sudo rm -rf "/usr/local/bin/azcopy_11.3.1" || true
sudo rm -rf "/usr/local/bin/bicep" || true
sudo rm -rf "/usr/local/bin/.ghcup" || true
sudo rm -rf "/usr/local/.ghcup" || true
sudo rm -rf "/home/.nvm" || true
sudo rm -rf "/usr/bin/composer" || true
sudo rm -rf "/usr/local/bin/phpunit" || true
Expand All @@ -105,10 +107,17 @@ jobs:
sudo rm -rf "/usr/local/bin/ccmake" || true
sudo rm -rf "/usr/local/bin/cpack" || true
sudo rm -rf "/usr/local/bin/oras" || true
sudo rm -rf "/usr/local/share/emacs" || true
sudo rm -rf "/usr/local/share/fonts" || true
sudo rm -rf "/usr/local/share/icons" || true
sudo rm -rf "/usr/local/share/man" || true
sudo rm -rf "/usr/local/share/chromium" || true
sudo rm -rf "/usr/local/share/powershell" || true
sudo rm -rf "/usr/local/share/doc" || true
sudo rm -rf "/home/perflog" || true
sudo rm -rf "/usr/libexec/docker/cli-plugins" || true
sudo rm -rf "/usr/bin/docker-credential-ecr-login" || true
sudo rm -rf "/usr/local/lib/lein" || true
sudo docker image prune --all --force
sudo npm uninstall bazel || true
sudo npm uninstall bazelisk || true
Expand Down Expand Up @@ -201,6 +210,7 @@ jobs:
packages-microsoft-prod \
perl \
*-dev \
linux-headers-* \
manpages \
-yq >/dev/null 2>&1 || true
sudo dpkg -r packages-microsoft-prod > /dev/null 2>&1 || true
Expand Down

0 comments on commit 82146a6

Please sign in to comment.