File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,11 @@ jobs:
6161 )
6262 ]
6363 if !isempty("${{ inputs.local-registry-names }}") && !isempty("${{ inputs.local-registry-urls }}")
64- names = split("${{ inputs.local-registry-names }}", "\n") .|> string
65- urls = split("${{ inputs.local-registry-urls }}", "\n") .|> string
66- for (name, url ) in zip(names, urls )
67- (isempty(name ) || isempty(url )) && continue
68- push!(registries, Pkg.RegistrySpec(; name, url))
64+ registry_names = split("${{ inputs.local-registry-names }}", "\n") .|> string
65+ registry_urls = split("${{ inputs.local-registry-urls }}", "\n") .|> string
66+ for (registry_name, registry_url ) in zip(registry_names, registry_urls )
67+ (isempty(registry_name ) || isempty(registry_url )) && continue
68+ push!(registries, Pkg.RegistrySpec(; name=registry_name , url=registry_url ))
6969 end
7070 end
7171 CompatHelper.main(; registries, bump_version=true)
You can’t perform that action at this time.
0 commit comments