Skip to content

Commit

Permalink
ci: use free-disk-space action
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroIshida committed Feb 5, 2025
1 parent eb8fbbb commit 3a6e450
Showing 1 changed file with 5 additions and 43 deletions.
48 changes: 5 additions & 43 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,49 +15,11 @@ jobs:
name: test docker build
runs-on: ubuntu-latest
steps:
- name: Free disk space
run: |
sudo rm -rf "/opt/ghc" || true
sudo rm -rf "/usr/share/dotnet" || true
sudo rm -rf "$AGENT_TOOLSDIRECTORY" || true
sudo rm -rf "/usr/local/lib/android" || true
sudo rm -rf "/usr/local/share/boost" || true
sudo apt purge -y \
ansible* \
aria2* \
aspnetcore* \
azure-cli* \
cabal* \
clang* \
dotnet-* \
firefox* \
gfortran-* \
ghc* \
google-chrome-stable* \
google-cloud-sdk* \
imagemagick* \
javascript* \
kubectl* \
llvm* \
mono* \
mysql* \
nginx* \
node* \
npm* \
nuget* \
php* \
postgresql* \
powershell* \
rpm* \
ruby* \
sqlite3* \
subversion \
temurin* \
tmux* \
vim* \
yarn*
sudo apt-get autoremove -y >/dev/null 2>&1 || true
sudo apt-get autoclean -y >/dev/null 2>&1 || true
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
docker-images: false
- name: Checkout
uses: actions/checkout@v2
- name: Setup QEMU
Expand Down

0 comments on commit 3a6e450

Please sign in to comment.