aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-02-25 11:16:21 -0800
committerOndřej Čertík <ondrej@certik.us>2020-02-25 11:43:31 -0800
commit2d6a18354b5c848bd655bfc2a642b93699eb2b09 (patch)
treeb6288791981f6ad9c12d294d2c374d8b9f6e11a8 /.github/workflows
parent1e022ab28087ac52c2318c5030d5a74bd736ac8e (diff)
downloadfpm-2d6a18354b5c848bd655bfc2a642b93699eb2b09.tar.gz
fpm-2d6a18354b5c848bd655bfc2a642b93699eb2b09.zip
CI: use PowerShell to download Stack
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/CI.yml9
1 files 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')