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 704487f commit 3df159a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,17 @@ jobs:
# 循环判断目录数量是否大于等于 14
while (!(Test-Path $targetDirectory) -or ((Get-ChildItem -Path $targetDirectory -Directory).Count -lt 14)) {
Write-Host "目录数量小于14个,等待1分钟..."
Write-Host "The directory does not exist, wait for 1 minute..."
Start-Sleep -Seconds 60
}
while (((Get-ChildItem -Path $targetDirectory -Directory).Count -lt 14)) {
Write-Host "The number of directories is less than 14, wait for 1 minute...."
Start-Sleep -Seconds 60
ls $targetDirectory
}
Write-Host "-------------------------Visual Studio 2022 installation completed----------------------------"
Get-ChildItem -Path 'C:\Program Files\Microsoft Visual Studio\2022\Community\'
Expand Down

0 comments on commit 3df159a

Please sign in to comment.