From 00f9fd6b2600be0a8d80566dd4d4d2389b3468eb Mon Sep 17 00:00:00 2001 From: Octogonapus Date: Fri, 22 Sep 2023 05:41:04 -0400 Subject: [PATCH] Add a retry around Pkg.build (#23) * Add a retry around Pkg.build * Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9ca9427..f186951 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ runs: - run: | import Pkg VERSION >= v"1.5-" && Pkg.Registry.add("General") - VERSION >= v"1.1.0-rc1" ? Pkg.build(verbose=true) : Pkg.build() + VERSION >= v"1.1.0-rc1" ? retry(Pkg.build)(verbose=true) : retry(Pkg.build)() shell: julia --color=yes --project=${{ inputs.project }} {0} env: JULIA_PKG_PRECOMPILE_AUTO: "${{ inputs.precompile }}"