Skip to content

Commit 2c5de3c

Browse files
committed
Update: CI workflow with new stack urls
Download stack from github releases page.
1 parent 313fe32 commit 2c5de3c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,18 @@ jobs:
5353
if: contains(matrix.os, 'macos')
5454
run: |
5555
mkdir /Users/runner/.local/bin
56-
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
56+
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
5757
5858
- name: Install Haskell Linux
5959
if: contains(matrix.os, 'ubuntu')
60-
uses: mstksg/setup-stack@v1
60+
run: |
61+
mkdir -p /home/runner/.local/bin
62+
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
6163
6264
- name: Install Haskell Windows
6365
if: contains(matrix.os, 'windows')
6466
run: |
65-
(New-Object System.Net.WebClient).DownloadFile("https://get.haskellstack.org/stable/windows-x86_64.zip", "windows-x86_64.zip")
67+
(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")
6668
mkdir stack-tmp
6769
cd stack-tmp
6870
unzip ..\windows-x86_64.zip

0 commit comments

Comments
 (0)