Skip to content

Commit e3eb439

Browse files
authored
fix: install the default registries for version > 1.8 (#55)
1 parent d36834d commit e3eb439

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,12 @@ runs:
4646
4747
4848
if VERSION >= v"1.5-"
49-
Pkg.Registry.add("General")
49+
if VERSION >= v"1.8-"
50+
# Install the default registries
51+
Pkg.Registry.add()
52+
else
53+
Pkg.Registry.add("General")
54+
end
5055
5156
# If provided add local registries
5257
if !isempty("${{ inputs.localregistry }}")

0 commit comments

Comments
 (0)