File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 5353 tag : latest
5454 build_args : " "
5555 steps :
56+ # Cleanup runner before building containers, as sometimes it
57+ # runs out of space during image build.
58+ - name : Cleanup runner
59+ run : |
60+ echo "Available space before:"
61+ df -hT
62+
63+ rm -rf /opt/hostedtoolcache
64+ rm -rf /usr/share/dotnet/
65+ rm -rf /usr/share/swift
66+ sudo rm -rf /usr/local/share/powershell
67+ sudo rm -rf /usr/local/share/chromium
68+ sudo rm -rf /usr/local/lib/android
69+
70+ echo "Available space after:"
71+ df -hT
5672 - name : Checkout
5773 uses : actions/checkout@v5
5874 with :
@@ -102,6 +118,22 @@ jobs:
102118 base_image=ghcr.io/intel/llvm/ubuntu2404_build
103119 base_tag=latest
104120 steps :
121+ # Cleanup runner before building containers, as sometimes it
122+ # runs out of space during image build.
123+ - name : Cleanup runner
124+ run : |
125+ echo "Available space before:"
126+ df -hT
127+
128+ rm -rf /opt/hostedtoolcache
129+ rm -rf /usr/share/dotnet/
130+ rm -rf /usr/share/swift
131+ sudo rm -rf /usr/local/share/powershell
132+ sudo rm -rf /usr/local/share/chromium
133+ sudo rm -rf /usr/local/lib/android
134+
135+ echo "Available space after:"
136+ df -hT
105137 - name : Checkout
106138 uses : actions/checkout@v5
107139 with :
You can’t perform that action at this time.
0 commit comments