From ad91ae012f2691cd362286c4b07f273485dd2095 Mon Sep 17 00:00:00 2001 From: Hao Lian Date: Mon, 25 Jul 2022 15:39:57 -0400 Subject: [PATCH] .github/workflows/build.yml: download upx 3.96-2 from ftp.debian.org Signed-off-by: Hao Lian --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 719972f86..7931597c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/cache@v2 with: path: ~/.opam - key: ${{ matrix.os }}-opam-${{ matrix.ocaml-version }}-flambda-musl-v4 + key: ${{ matrix.os }}-opam-${{ matrix.ocaml-version }}-flambda-musl-v5 - name: Install musl-compatible kernel headers run: | @@ -32,8 +32,9 @@ jobs: - name: Install upx run: | - # The version that comes with focal is broken for musl binaries, pulling 3.96 from hirsute. - wget http://azure.archive.ubuntu.com/ubuntu/pool/universe/u/upx-ucl/upx-ucl_3.96-2_amd64.deb + # The version that comes with focal is broken for musl binaries, so we have to download + # from another location. + wget http://ftp.debian.org/debian/pool/main/u/upx-ucl/upx-ucl_3.96-2_amd64.deb sudo dpkg -i upx-ucl_3.96-2_amd64.deb - name: Use OCaml ${{ matrix.ocaml-version }}