mirror of
https://github.com/julia-actions/julia-buildpkg.git
synced 2026-02-12 09:26: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-"
|
if VERSION >= v"1.5-"
|
||||||
|
if VERSION >= v"1.8-"
|
||||||
|
# Install the default registries
|
||||||
|
Pkg.Registry.add()
|
||||||
|
else
|
||||||
Pkg.Registry.add("General")
|
Pkg.Registry.add("General")
|
||||||
|
end
|
||||||
|
|
||||||
# If provided add local registries
|
# If provided add local registries
|
||||||
if !isempty("${{ inputs.localregistry }}")
|
if !isempty("${{ inputs.localregistry }}")
|
||||||
|
|||||||
Reference in New Issue
Block a user