mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Cleans telemetry and logs from (#8801)
Running the cleanup post-tests and software inventory, as these generate more logs and more telemetry
This commit is contained in:
@@ -20,7 +20,10 @@ Write-Host "Clean up various directories"
|
||||
"$env:SystemRoot\winsxs\manifestcache",
|
||||
"$env:SystemRoot\Temp",
|
||||
"$env:SystemDrive\Users\$env:INSTALL_USER\AppData\Local\Temp",
|
||||
"$env:TEMP"
|
||||
"$env:TEMP",
|
||||
"$env:AZURE_CONFIG_DIR\logs",
|
||||
"$env:AZURE_CONFIG_DIR\commands",
|
||||
"$env:AZURE_CONFIG_DIR\telemetry"
|
||||
) | ForEach-Object {
|
||||
if (Test-Path $_) {
|
||||
Write-Host "Removing $_"
|
||||
|
||||
Reference in New Issue
Block a user