From 2c65363740608cba2715d83c72ac2465891f1043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Tue, 21 Jul 2020 09:35:45 -0600 Subject: Use a more stable url to download Haskell --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows/CI.yml') diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8437483..dfa386d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -27,13 +27,13 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - - name: Install Haskell Linux / macOS (manual) + - name: Install Haskell macOS if: contains(matrix.os, 'macos') run: | - curl --insecure -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz | tar xz --strip-components=1 --include '*/stack' -C /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 - - name: Install Haskell Linux / macOS - if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos') + - name: Install Haskell Linux + if: contains(matrix.os, 'ubuntu') uses: mstksg/setup-stack@v1 - name: Install Haskell Windows -- cgit v1.2.3