From 31612c158423bad3b343d688443fbad87ad1120a Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Fri, 29 Nov 2024 23:39:03 -0600 Subject: [PATCH] Revert "Try this." This reverts commit b08d63c463521a3717ce10aba2e4bd92df6fcd34. --- .github/scripts/build-win32.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/scripts/build-win32.sh b/.github/scripts/build-win32.sh index c89dd7537f..1daa3284f6 100755 --- a/.github/scripts/build-win32.sh +++ b/.github/scripts/build-win32.sh @@ -42,9 +42,15 @@ export CC="" echo "::group::Installing deps" eval "$(opam config env)" -cd cd /home/opam/opam-cross-windows -git pull --rebase https://github.com/ocaml-cross/opam-cross-windows.git main +opam repository set-url default https://github.com/ocaml/opam-repository.git +opam repository set-url windows https://github.com/ocaml-cross/opam-cross-windows.git opam update windows +# shellcheck disable=SC2046 +opam upgrade -y $(echo "$OPAM_DEPS" | sed -e 's#,# #g') ffmpeg-windows ffmpeg-avutil-windows +opam remove -y pcre-windows + +# Debug +opam reinstall -y cry-windows echo "::endgroup::"