Skip to content

Commit 4e63aa7

Browse files
committed
Fix CompatHelper workflow
1 parent a8b5a7b commit 4e63aa7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)