Skip to content

Commit

Permalink
Switch to wget
Browse files Browse the repository at this point in the history
There are some funky intermitten ssl failures happening when dounloading from
get-ghcup.haskell.org

It was easier to switch to wget than trying to make curl work with this
failure.
  • Loading branch information
lehins committed Dec 14, 2024
1 parent ff595fa commit 9d76407
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: random-CI

on:
push:
branches: [ '*' ]
branches: [ "master", "release/**" ]
pull_request:
branches: [ master ]
branches: [ "**" ]

defaults: { run: { shell: bash } }

Expand Down Expand Up @@ -239,8 +239,10 @@ jobs:
- name: Install
run: |
apt-get update -y
apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh
apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev wget
wget https://get-ghcup.haskell.org -O ghcup.sh -t 10 --retry-connrefused
chmod a+x ghcup.sh
BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 ./ghcup.sh
- uses: actions/checkout@v1
- name: Test
run: |
Expand Down

0 comments on commit 9d76407

Please sign in to comment.