File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,16 @@ runs:
28
28
shell : bash
29
29
- run : |
30
30
import Pkg
31
- VERSION >= v"1.5-" && Pkg.Registry.add("General")
32
-
33
- # If provided add local registries
34
- if !isempty("${{ inputs.localregistry }}")
35
- local_repos = split("${{ inputs.localregistry }}", " ") .|> string
36
- for url in local_repos
37
- Pkg.Registry.add(Pkg.RegistrySpec(; url))
38
- end
31
+ if VERSION >= v"1.5-"
32
+ Pkg.Registry.add("General")
33
+
34
+ # If provided add local registries
35
+ if !isempty("${{ inputs.localregistry }}")
36
+ local_repos = split("${{ inputs.localregistry }}", " ") .|> string
37
+ for repo_url in local_repos
38
+ Pkg.Registry.add(Pkg.RegistrySpec(; url = repo_url))
39
+ end
40
+ end
39
41
end
40
42
41
43
VERSION >= v"1.1.0-rc1" ? retry(Pkg.build)(verbose=true) : retry(Pkg.build)()
You can’t perform that action at this time.
0 commit comments