Skip to content

Commit a97c647

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

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,22 @@ 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+
- name: Free Disk Space
88+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
89+
with:
90+
tool-cache: true
91+
# This option takes some time, but could be switched to true if more
92+
# space is needed (~5 GB or so)
93+
large-packages: false
94+
- name: Cleanup /opt
95+
run: |
96+
sudo rm -rf /opt/*
97+
- name: Show available storage after cleanup
98+
run: |
99+
df -H
85100
- uses: actions/checkout@v6
86101
- uses: julia-actions/setup-julia@v2
87102
with:

0 commit comments

Comments
 (0)