Put the General registry clone inside a bounded retry loop (#31)

Co-authored-by: Sascha Mann <git@mail.saschamann.eu>
This commit is contained in:
Dilum Aluthge
2021-01-04 05:31:18 -05:00
committed by GitHub
parent 78a53ba947
commit 8ff46c6486
2 changed files with 50 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ runs:
# * https://github.com/JuliaLang/Pkg.jl/issues/2011
# * https://github.com/JuliaRegistries/General/issues/16777
# * https://github.com/JuliaPackaging/PkgServer.jl/issues/60
- run: julia --color=yes -e 'using Pkg; VERSION >= v"1.5-" && !isdir(joinpath(DEPOT_PATH[1], "registries", "General")) && Pkg.Registry.add("General")'
- run: julia --color=yes "$GITHUB_ACTION_PATH"/add_general_registry.jl
shell: bash
env:
# We set `JULIA_PKG_SERVER` only for this step to enforce