File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
16
16
steps :
17
+ - name : Remove unnecessary software to free up disk space
18
+ run : |
19
+ # inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
20
+ df -h
21
+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
22
+ df -h
23
+
17
24
- name : Checkout Repository
18
25
uses : actions/checkout@v4
19
26
with :
Original file line number Diff line number Diff line change 37
37
WORKER_TOTAL : 4
38
38
39
39
steps :
40
+ - name : Remove unnecessary software to free up disk space
41
+ if : matrix.os == 'ubuntu-latest'
42
+ run : |
43
+ # inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
44
+ df -h
45
+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
46
+ df -h
47
+
40
48
# Step 1: Check out the repository
41
49
- name : Checkout Repository
42
50
uses : actions/checkout@v4
69
77
fail-fast : false
70
78
71
79
steps :
80
+ - name : Remove unnecessary software to free up disk space
81
+ if : matrix.os == 'ubuntu-latest'
82
+ run : |
83
+ # inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
84
+ df -h
85
+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
86
+ df -h
87
+
72
88
# Step 1: Check out the repository
73
89
- name : Checkout Repository
74
90
uses : actions/checkout@v4
@@ -164,6 +180,14 @@ jobs:
164
180
fail-fast : true
165
181
166
182
steps :
183
+ - name : Remove unnecessary software to free up disk space
184
+ if : matrix.os == 'ubuntu-latest'
185
+ run : |
186
+ # inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
187
+ df -h
188
+ sudo rm -rf /usr/share/dotnet /usr/local/lib/android /usr/local/.ghcup
189
+ df -h
190
+
167
191
# Step 1: Check out the repository
168
192
- name : Checkout Repository
169
193
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments