Skip to content

Commit 4cb1eec

Browse files
committed
Try fixing downstream test workflow
1 parent 836fef4 commit 4cb1eec

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/IntegrationTest.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ jobs:
5050
end
5151
try
5252
repo_and_subdir = split("${{ inputs.repo }}", ':')
53-
repo = first(repo_and_subdir)
53+
repo = string(first(repo_and_subdir))
5454
pkg_name = string(first(split(last(split(repo, '/')), '.')))
5555
path = "downstream"
5656
if length(repo_and_subdir) > 1
5757
length(repo_and_subdir) == 2 || error("Bad repo input.")
58-
subdir = last(repo_and_subdir)
59-
path = joinpath(path, subdir)
60-
pkg_name = last(split(repo, '/'))
58+
pkg_name = string(last(repo_and_subdir))
6159
end
6260
Pkg.add(pkg_name)
6361
# force it to use this PR's version of the package

0 commit comments

Comments
 (0)