Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchf committed Mar 15, 2024
1 parent 83ff985 commit 704487f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
$targetDirectory = "C:\Program Files\Microsoft Visual Studio\2022\Community\"
# 循环判断目录数量是否大于等于 14
while ((Get-ChildItem -Path $targetDirectory -Directory).Count -lt 14) {
while (!(Test-Path $targetDirectory) -or ((Get-ChildItem -Path $targetDirectory -Directory).Count -lt 14)) {
Write-Host "目录数量小于14个,等待1分钟..."
Start-Sleep -Seconds 60
}
Expand Down

0 comments on commit 704487f

Please sign in to comment.