File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,6 @@ jobs:
109
109
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
110
110
fi
111
111
112
- # Always print disk usage, even for jobs that don't free up disk space.
113
- - name : print disk usage
114
- run : |
115
- echo "disk usage:"
116
- df -h
117
-
118
112
- name : disable git crlf conversion
119
113
run : git config --global core.autocrlf false
120
114
@@ -131,6 +125,13 @@ jobs:
131
125
run : src/ci/scripts/free-disk-space.sh
132
126
if : matrix.free_disk
133
127
128
+ # If we don't need to free up disk space then just report how much space we have
129
+ - name : print disk usage
130
+ run : |
131
+ echo "disk usage:"
132
+ df -h
133
+ if : !matrix.free_disk
134
+
134
135
# Rust Log Analyzer can't currently detect the PR number of a GitHub
135
136
# Actions build on its own, so a hint in the log message is needed to
136
137
# point it in the right direction.
You can’t perform that action at this time.
0 commit comments