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:
17
17
- name : Install Rakudo Star with msiexec
18
18
if : runner.os == 'Windows'
19
19
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()
25
27
26
28
- name : Install Rakudo Star with brew
27
29
if : runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments