File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 8383 steps :
8484 - uses : actions/checkout@v4
8585
86+ # --- Disk usage before cleanup ---
87+ - name : Check disk usage before cleanup
88+ if : runner.os == 'Linux'
89+ run : df -h
90+
91+ # --- Cleanup step ---
92+ - name : node-cleanup
93+ if : runner.os == 'Linux'
94+ run : |
95+ sudo rm -rf /usr/share/dotnet \
96+ /usr/local/lib/android \
97+ /opt/ghc \
98+ /opt/hostedtoolcache/CodeQL
99+ sudo docker image prune --all --force
100+ sudo docker builder prune -a --force
101+
102+ # --- Disk usage after cleanup ---
103+ - name : Check disk usage after cleanup
104+ if : runner.os == 'Linux'
105+ run : df -h
106+
86107 - name : Build Linux within container image "${{ matrix.image }}"
87108 run : |
88109 docker run --rm -w /home/jenkins -v "$PWD":"/home/jenkins" \
You can’t perform that action at this time.
0 commit comments