Skip to content

Commit

Permalink
Update windows workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dango committed Mar 17, 2024
1 parent 82e13cf commit a7b63b9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/exercises.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
- name: Install Rakudo Star with msiexec
if: runner.os == 'Windows'
run: >
Invoke-WebRequest https://rakudo.org/latest/star/win -OutFile C:\rakudo-star.msi;
msiexec /a /jm C:\rakudo-star.msi;
echo "C:\rakudo\bin;C:\rakudo\share\perl6\site\bin"
| Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append;
dir C:\;
$file = "rakudo-star.msi"
Invoke-WebRequest https://rakudo.org/latest/star/win -OutFile "$file";
$log = "install.log"
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
$procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru
$procMain.WaitForExit()
$procLog.Kill()
- name: Install Rakudo Star with brew
if: runner.os == 'macOS'
Expand Down

0 comments on commit a7b63b9

Please sign in to comment.