diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-09-21 18:07:20 +0100 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-09-21 18:11:45 +0100 |
commit | 2c5de3c50bc9b06bbc9884f6a75690bdce92bb53 (patch) | |
tree | 19438fb8f71694e9d468dc853b4365c57ccac680 /.github | |
parent | 313fe327f6dcc71b023d9f32a0650d5cf25ce009 (diff) | |
download | fpm-2c5de3c50bc9b06bbc9884f6a75690bdce92bb53.tar.gz fpm-2c5de3c50bc9b06bbc9884f6a75690bdce92bb53.zip |
Update: CI workflow with new stack urls
Download stack from github releases page.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/CI.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0a176af..597b385 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -53,16 +53,18 @@ jobs: if: contains(matrix.os, 'macos') run: | mkdir /Users/runner/.local/bin - curl -L https://gist.github.com/certik/0e35f35753ae76f0f575d9b3d3f53633/raw/4cde02cc9215635c9401c2257a46be319e7ab6dd/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C /Users/runner/.local/bin + curl -L https://github.com/commercialhaskell/stack/releases/download/v2.3.3/stack-2.3.3-osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C /Users/runner/.local/bin - name: Install Haskell Linux if: contains(matrix.os, 'ubuntu') - uses: mstksg/setup-stack@v1 + run: | + mkdir -p /home/runner/.local/bin + curl -L https://github.com/commercialhaskell/stack/releases/download/v2.3.3/stack-2.3.3-linux-x86_64.tar.gz | tar --strip-components 1 --wildcards -xz */stack -C /home/runner/.local/bin - name: Install Haskell Windows if: contains(matrix.os, 'windows') run: | - (New-Object System.Net.WebClient).DownloadFile("https://get.haskellstack.org/stable/windows-x86_64.zip", "windows-x86_64.zip") + (New-Object System.Net.WebClient).DownloadFile("https://github.com/commercialhaskell/stack/releases/download/v2.3.3/stack-2.3.3-windows-x86_64.zip", "windows-x86_64.zip") mkdir stack-tmp cd stack-tmp unzip ..\windows-x86_64.zip |