Skip to content

Commit 57be0c2

Browse files
committed
Removing cache dir
Signed-off-by: Ashique Saidalavi <[email protected]>
1 parent 343af73 commit 57be0c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.expeditor/run_windows_tests.ps1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
$ErrorActionPreference="stop"
22

3+
Write-Host "Manually clearing the chef-test-kitchen-enterprise cache"
4+
if (Test-Path "C:/workdir/vendor/bundle/ruby/3.1.0/cache/bundler/git/chef-test-kitchen-enterprise-dba8545c33365a2bffe55f9cb935af5b46709af2") {
5+
Remove-Item -Recurse -Force "C:/workdir/vendor/bundle/ruby/3.1.0/cache/bundler/git/chef-test-kitchen-enterprise-dba8545c33365a2bffe55f9cb935af5b46709af2"
6+
Write-Host "Cleaned the previous cache"
7+
} else {
8+
Write-Host "Cache directory does not exist"
9+
}
10+
311
Write-Host "--- bundle install"
412

513
bundle config --local path vendor/bundle

0 commit comments

Comments
 (0)