mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Add stream redirection to hide log output (#3141)
This commit is contained in:
@@ -19,7 +19,7 @@ if ($groupExist -eq "true") {
|
||||
az group delete --name $TempResourceGroupName --subscription $SubscriptionId --yes | Out-Null
|
||||
Write-Host "Temporary group was deleted succesfully"
|
||||
Write-Host "Deleting OS disk"
|
||||
az storage remove --account-name $StorageAccount -c "images" -n "$osDiskName.vhd" | Out-Null
|
||||
az storage remove --account-name $StorageAccount -c "images" -n "$osDiskName.vhd" 2>&1 | Out-Null
|
||||
Write-Host "OS disk deleted"
|
||||
} else {
|
||||
Write-Host "No temporary groups found"
|
||||
|
||||
Reference in New Issue
Block a user