Skip to content

Commit 518e417

Browse files
committed
adding logic to GHA's to remove unused diskspace
Signed-off-by: Adam D. Cornett <[email protected]>
1 parent 4735e0a commit 518e417

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/integration.yml

+9
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ jobs:
2626
needs: check_docs_only
2727
if: needs.check_docs_only.outputs.skip != 'true'
2828
steps:
29+
- name: Cleanup Unused Disk Space
30+
run: |
31+
du -h
32+
rm -fr /opt/hostedtoolcache
33+
du -h
34+
cd /opt
35+
find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
36+
du -h
37+
2938
- uses: actions/checkout@v4
3039
with:
3140
fetch-depth: 0

0 commit comments

Comments
 (0)