Skip to content

Commit d590843

Browse files
committed
ci: prepend runtime dir to PATH in-step for swift invocation
1 parent 56c99d5 commit d590843

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/windows-spike.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
if ($runtimeDir) {
7070
Write-Host "Runtime dir: $runtimeDir"
7171
Add-Content $env:GITHUB_PATH $runtimeDir
72+
$env:PATH = "$runtimeDir;$env:PATH"
7273
} else {
7374
Write-Host 'swiftCore.dll not under Programs\Swift; searching C:\'
7475
where.exe /R C:\ swiftCore.dll 2>$null | Select-Object -First 3

0 commit comments

Comments
 (0)