Skip to content

Commit cd5841f

Browse files
try some more things
1 parent 3663c40 commit cd5841f

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/Downstream.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jobs:
3434
with:
3535
version: ${{ matrix.julia-version }}
3636
arch: x64
37+
- name: Setup ArrayInterface
38+
shell: julia --color=yes
39+
run: |
40+
using Pkg
41+
function dev_subpkg(subpkg)
42+
subpkg_path = joinpath(".","ArrayInterface", "lib", subpkg)
43+
Pkg.develop(Pkg.PackageSpec(path=subpkg_path))
44+
end
45+
dev_subpkg("ArrayInterfaceCore")
46+
Pkg.build()
3747
- name: Clone Downstream
3848
uses: actions/checkout@v2
3949
with:
@@ -44,12 +54,6 @@ jobs:
4454
run: |
4555
using Pkg
4656
try
47-
function dev_subpkg(subpkg)
48-
subpkg_path = joinpath(".","ArrayInterface", "lib", subpkg)
49-
Pkg.develop(Pkg.PackageSpec(path=subpkg_path))
50-
end
51-
dev_subpkg("ArrayInterfaceCore")
52-
5357
# force it to use this PR's version of the package
5458
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
5559

0 commit comments

Comments
 (0)