From 1ccfa7f61eac3cd4776e8721a74d31fd99c69d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B5ivo=20Leedj=C3=A4rv?= Date: Wed, 6 May 2026 13:10:52 +0200 Subject: [PATCH] GHA: Use opam-repository-archive for OCaml < 4.11 --- .github/workflows/CI.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ebeadec5a..e390982be 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -913,7 +913,7 @@ jobs: - { ocaml-version: 4.14.x, publish: true, fnsuffix: -ubuntu-22.04-x86_64 } - { ocaml-version: "ocaml-variants.4.14.3+options,ocaml-option-musl,ocaml-option-static,ocaml-option-flambda", publish: true, fnsuffix: -ubuntu-22.04-x86_64-static, static: -static } - { ocaml-version: 4.12.x } - - { ocaml-version: 4.08.x } + - { ocaml-version: ocaml-base-compiler.4.08.1 } runs-on: ubuntu-22.04 @@ -929,6 +929,9 @@ jobs: ocaml-compiler: ${{ matrix.job.ocaml-version }} opam-disable-sandboxing: true opam-pin: false + opam-repositories: | + default: git+https://github.com/ocaml/opam-repository + archive: git+https://github.com/ocaml/opam-repository-archive - name: Build text UI env: