Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Apr 29, 2024
1 parent b8ca0ce commit 593b25c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions haskell/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ runs:
if: runner.os == 'Windows'
shell: 'pwsh'
run: |
try {Get-Command ghcup}
catch {
Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
try {
Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $false,$true,$false,$true,$false,$false,$false,"","","C:\msys64"
} catch { Write-Error $_ }
}
try {Get-Command ghcup}
catch {
Set-ExecutionPolicy Bypass -Scope Process -Force;[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
try {
Invoke-Command -ScriptBlock ([ScriptBlock]::Create((Invoke-WebRequest https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1 -UseBasicParsing))) -ArgumentList $false,$true,$false,$true,$false,$false,$false,"","","C:\msys64"
} catch { Write-Error $_ }
}
- name: Setup GHC
if: inputs.ghc-version != ''
Expand Down

0 comments on commit 593b25c

Please sign in to comment.