File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,9 @@ jobs:
131
131
run : src/ci/scripts/free-disk-space.sh
132
132
if : matrix.free_disk
133
133
134
+ - name : early exit
135
+ - run : exit 1
136
+
134
137
# Rust Log Analyzer can't currently detect the PR number of a GitHub
135
138
# Actions build on its own, so a hint in the log message is needed to
136
139
# point it in the right direction.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ $ErrorActionPreference = 'Stop'
5
5
Get-Volume | Out-String | Write-Output
6
6
7
7
# Exclude directory from Defender to make this faster
8
- # Add-MpPreference -ExclusionPath C:\
8
+ Add-MpPreference - ExclusionPath C:\
9
9
10
10
$available = $ (Get-Volume C).SizeRemaining
11
11
@@ -30,5 +30,3 @@ Get-Volume | Out-String | Write-Output
30
30
31
31
$saved = ($ (Get-Volume C).SizeRemaining - $available ) / 1 gb
32
32
Write-Output " total space saved $saved GB"
33
-
34
- exit 1
You can’t perform that action at this time.
0 commit comments