mirror of
https://github.com/julia-actions/julia-buildpkg.git
synced 2026-02-11 17:06:54 +08:00
fix: install the default registries for version > 1.8 (#55)
This commit is contained in:
@@ -46,7 +46,12 @@ runs:
|
||||
|
||||
|
||||
if VERSION >= v"1.5-"
|
||||
Pkg.Registry.add("General")
|
||||
if VERSION >= v"1.8-"
|
||||
# Install the default registries
|
||||
Pkg.Registry.add()
|
||||
else
|
||||
Pkg.Registry.add("General")
|
||||
end
|
||||
|
||||
# If provided add local registries
|
||||
if !isempty("${{ inputs.localregistry }}")
|
||||
|
||||
Reference in New Issue
Block a user