Skip to content

Commit d03eb74

Browse files
committed
test-path
1 parent 5da161e commit d03eb74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
}
5858
$vol = '${{ inputs.work-vol }}'
5959
if ("$vol" -eq '') {
60-
$vol = 'D:'
60+
$vol = (Test-Path -LiteralPath 'D:\') ? 'D:' : 'C:'
6161
}
6262
$setupExe = "$vol\setup.exe"
6363
$setupFileName = "setup-$platform.exe"

0 commit comments

Comments
 (0)