Skip to content

Commit 5703331

Browse files
committed
[CI] More aggressively clean up space on disk
1 parent 3db4a80 commit 5703331

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,24 @@ jobs:
8181
julia-version: "1.12"
8282

8383
steps:
84-
- run: sudo rm -rf /opt/*
84+
- name: Show available storage before cleanup
85+
run: |
86+
df -h /
87+
df -a /
88+
- name: Free Disk Space
89+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
90+
with:
91+
tool-cache: true
92+
# This option takes some time, but could be switched to true if more
93+
# space is needed (~5 GB or so)
94+
large-packages: false
95+
- name: Cleanup /opt
96+
run: |
97+
sudo rm -rf /opt/*
98+
- name: Show available storage after cleanup
99+
run: |
100+
df -h /
101+
df -a /
85102
- uses: actions/checkout@v6
86103
- uses: julia-actions/setup-julia@v2
87104
with:

0 commit comments

Comments
 (0)