Skip to content

Commit

Permalink
fix: adjust cleanup on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Nov 24, 2021
1 parent cee6afe commit 5dd1c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ runs:
run: |
$files = "c:\Users\runneradmin\.gradle\caches\modules-2\modules-2.lock","c:\Users\runneradmin\.gradle\caches\modules-2\gc.properties"
foreach ($file in $files) {
if (Test-Path $file = True) {
if (Test-Path -Path $file -PathType Leaf) {
Remove-Item -Force $file
}
}
Expand Down

0 comments on commit 5dd1c6b

Please sign in to comment.