Skip to content

Commit d3e473e

Browse files
committed
Use ftp URL for gmp
1 parent 0559b37 commit d3e473e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/reusable-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ env:
2929
GHC_TARGETS: ${{ inputs.ghc_targets }}
3030
CABAL_VERSION: ${{ inputs.cabal }}
3131
GMP_VERSION: ${{ inputs.gmp }}
32+
GMP_URL: "https://ftp.gnu.org/gnu/gmp/"
3233
BOOTSTRAP_HASKELL_NONINTERACTIVE: 1
3334
BOOTSTRAP_HASKELL_MINIMAL: 1
3435
DEBIAN_FRONTEND: noninteractive
@@ -106,7 +107,7 @@ jobs:
106107
run: |
107108
set -eux
108109
109-
curl -O -L https://gmplib.org/download/gmp/gmp-${{ env.GMP_VERSION }}.tar.xz
110+
curl -O -L ${{ env.GMP_URL }}/gmp-${{ env.GMP_VERSION }}.tar.xz
110111
tar xf gmp-${{ env.GMP_VERSION }}.tar.xz
111112
cd gmp-${{ env.GMP_VERSION }}
112113
CFLAGS=-fPIC ./configure --prefix=$HOME/.local/ --disable-shared

0 commit comments

Comments
 (0)