From ea56c350bf331035ff0289a00f21f74b36aa94cd Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Thu, 17 Apr 2025 12:51:00 +0900 Subject: [PATCH] Set `OPAMRETRIES` environment variable Signed-off-by: Sora Morimoto --- dist/index.cjs | 1 + packages/setup-ocaml/src/installer.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.cjs b/dist/index.cjs index de3b9240..72309126 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -137123,6 +137123,7 @@ async function installer() { core6.exportVariable("OPAMDOWNLOADJOBS", os2.availableParallelism()); core6.exportVariable("OPAMERRLOGLEN", 0); core6.exportVariable("OPAMPRECISETRACKING", 1); + core6.exportVariable("OPAMRETRIES", 10); core6.exportVariable("OPAMROOT", OPAM_ROOT); core6.exportVariable("OPAMSOLVERTIMEOUT", 600); core6.exportVariable("OPAMYES", 1); diff --git a/packages/setup-ocaml/src/installer.ts b/packages/setup-ocaml/src/installer.ts index 2d78e0aa..fd5d521f 100644 --- a/packages/setup-ocaml/src/installer.ts +++ b/packages/setup-ocaml/src/installer.ts @@ -41,6 +41,7 @@ export async function installer() { core.exportVariable("OPAMDOWNLOADJOBS", os.availableParallelism()); core.exportVariable("OPAMERRLOGLEN", 0); core.exportVariable("OPAMPRECISETRACKING", 1); + core.exportVariable("OPAMRETRIES", 10); core.exportVariable("OPAMROOT", OPAM_ROOT); core.exportVariable("OPAMSOLVERTIMEOUT", 600); core.exportVariable("OPAMYES", 1);