mirror of
https://github.com/julia-actions/julia-runtest.git
synced 2026-02-19 22:46:56 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user