File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3190,18 +3190,17 @@ try {
31903190Get-Dependencies
31913191
31923192if ($Clean ) {
3193+ Remove-Item - Force - Recurse - Path " $BinaryCache \$ ( $BuildPlatform.Triple ) \" - ErrorAction Ignore
31933194 Remove-Item - Force - Recurse - Path " $BinaryCache \$ ( $HostPlatform.Triple ) \" - ErrorAction Ignore
3194-
3195- # In case of a previous test run, clear out the swiftmodules as they are not a stable format.
3196- Remove-Item - Force - Recurse - Path " $ ( $HostPlatform.ToolchainInstallRoot ) \usr\lib\swift\windows\*.swiftmodule" - ErrorAction Ignore
31973195 foreach ($Platform in $WindowsSDKPlatforms ) {
31983196 Remove-Item - Force - Recurse - Path " $BinaryCache \$ ( $Platform.Triple ) \" - ErrorAction Ignore
31993197 }
32003198 foreach ($Platform in $AndroidSDKPlatforms ) {
32013199 Remove-Item - Force - Recurse - Path " $BinaryCache \$ ( $Platform.Triple ) \" - ErrorAction Ignore
32023200 }
3203-
3204- Remove-Item - Force - Recurse ([IO.Path ]::Combine((Get-InstallDir $HostPlatform ), " Runtimes" , $ProductVersion )) - ErrorAction Ignore
3201+ Remove-Item - Force - Recurse - Path " $BinaryCache \1" - ErrorAction Ignore
3202+ Remove-Item - Force - Recurse - Path " $BinaryCache \5" - ErrorAction Ignore
3203+ Remove-Item - Force - Recurse - Path (Get-InstallDir $HostPlatform ) - ErrorAction Ignore
32053204}
32063205
32073206if (-not $SkipBuild ) {
You can’t perform that action at this time.
0 commit comments