Skip to content

Commit ae6ba46

Browse files
Auto merge of #144137 - ChrisDenton:diskspace, r=<try>
dnm: dskusg try-job: x86_64-msvc-1
2 parents 8231065 + 12420d5 commit ae6ba46

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,22 @@ jobs:
9898
# Check the `calculate_matrix` job to see how is the matrix defined.
9999
include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }}
100100
steps:
101+
- name: Diskspace
102+
shell: pwsh
103+
run: |
104+
Get-Volume
105+
#diskusage /t:500 C:\
106+
$dirs = 'C:\Windows\Installer', 'C:\Program Files\LLVM\bin',
107+
'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm',
108+
'C:\rtools45', 'C:\ghcup', 'C:\Program Files\WSL', 'C:\Program Files (x86)\Android',
109+
'C:\Program Files\Google\Chrome', 'C:\Program Files (x86)\Microsoft\Edge',
110+
'C:\Program Files\Mozilla Firefox', 'C:\Program Files\MySQL', 'C:\Julia',
111+
'C:\Program Files\MongoDB', 'C:\Program Files\Azure Cosmos DB Emulator',
112+
'C:\Program Files\PostgreSQL', 'C:\Program Files\Unity Hub', 'C:\ProgramData\chocolatey',
113+
'C:\ProgramData\Package Cache', 'C:\Strawberry', 'C:\hostedtoolcache\windows\Java_Temurin-Hotspot_jdk'
114+
Remove-Item -Recurse -Force $dirs
115+
Get-Volume
116+
exit 1
101117
- name: Install cargo in AWS CodeBuild
102118
if: matrix.codebuild
103119
run: |

0 commit comments

Comments
 (0)