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::"