Skip to content

Commit c0d8451

Browse files
committed
info is pwr
1 parent 16e2d52 commit c0d8451

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

scripts/azure-templates-bootstrapper.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,16 @@ jobs:
8484
steps:
8585
- pwsh: if ($IsLinux -or $IsMacOS) { df -h } else { Get-Volume }
8686
displayName: Get the volume information before the run
87+
condition: always()
8788

8889
# prepare
8990
- checkout: self
9091
submodules: recursive
9192
- template: /scripts/azure-templates-variables.yml@self
9293

93-
- pwsh: if ($IsLinux -or $IsMacOS) { df -h } else { Get-Volume }
94+
- pwsh: .\scripts\get-free-space.ps1
9495
displayName: Get the volume information after the checkout
96+
condition: always()
9597

9698
# # checkout required skia PR
9799
# - pwsh: .\scripts\checkout-skia.ps1 -GitHubToken $(GitHub.Token.PublicAccess)
@@ -109,6 +111,7 @@ jobs:
109111

110112
- pwsh: .\scripts\get-free-space.ps1
111113
displayName: Get the volume information before the provisioning
114+
condition: always()
112115

113116
# provisioning steps
114117
- ${{ if ne(parameters.buildAgent.provisioningSteps, '') }}:
@@ -284,6 +287,7 @@ jobs:
284287

285288
- pwsh: .\scripts\get-free-space.ps1
286289
displayName: Get the volume information before downloading artifacts
290+
condition: always()
287291

288292
# download artifacts
289293
- template: /scripts/azure-templates-download-artifacts.yml@self
@@ -299,6 +303,7 @@ jobs:
299303

300304
- pwsh: .\scripts\get-free-space.ps1
301305
displayName: Get the volume information after downloading artifacts
306+
condition: always()
302307

303308
# pre-build steps
304309
- ${{ if ne(parameters.buildAgent.preBuildSteps, '') }}:
@@ -308,6 +313,7 @@ jobs:
308313

309314
- pwsh: .\scripts\get-free-space.ps1
310315
displayName: Get the volume information before the build
316+
condition: always()
311317

312318
# actual build
313319
- ${{ if ne(parameters.skipSteps, 'true') }}:
@@ -379,6 +385,7 @@ jobs:
379385
380386
- pwsh: .\scripts\get-free-space.ps1
381387
displayName: Get the volume information after the build
388+
condition: always()
382389

383390
# post-build steps
384391
- ${{ parameters.postBuildSteps }}
@@ -388,3 +395,4 @@ jobs:
388395

389396
- pwsh: .\scripts\get-free-space.ps1
390397
displayName: Get the volume information after the entire run
398+
condition: always()

0 commit comments

Comments
 (0)