File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ jobs:
1717 - name : Install Rakudo Star with msiexec
1818 if : runner.os == 'Windows'
1919 run : >
20- Invoke-WebRequest https://rakudo.org/latest/star/win -OutFile C:\rakudo-star.msi;
21- msiexec /a /jm C:\rakudo-star.msi;
22- echo "C:\rakudo\bin;C:\rakudo\share\perl6\site\bin"
23- | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append;
24- dir C:\;
20+ $file = "rakudo-star.msi"
21+ Invoke-WebRequest https://rakudo.org/latest/star/win -OutFile "$file";
22+ $log = "install.log"
23+ $procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
24+ $procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru
25+ $procMain.WaitForExit()
26+ $procLog.Kill()
2527
2628 - name : Install Rakudo Star with brew
2729 if : runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments