From 2d6a18354b5c848bd655bfc2a642b93699eb2b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 25 Feb 2020 11:16:21 -0800 Subject: CI: use PowerShell to download Stack --- .github/workflows/CI.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3f6d81a..946caba 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -34,9 +34,12 @@ jobs: - name: Install Haskell Windows if: contains(matrix.os, 'windows') run: | - wget https://get.haskellstack.org/stable/windows-x86_64.zip - unzip windows-x86_64.zip - copy windows-x86_64\stack.exe %APPDATA%\local\bin + (New-Object System.Net.WebClient).DownloadFile("https://get.haskellstack.org/stable/windows-x86_64.zip", "windows-x86_64.zip") + mkdir stack-tmp + cd stack-tmp + unzip ..\windows-x86_64.zip + copy stack.exe "C:\Program Files\Git\usr\bin" + cd .. - name: Install GFortran Linux if: contains(matrix.os, 'ubuntu') -- cgit v1.2.3