@@ -66,16 +66,17 @@ jobs:
6666 - uses : actions/download-artifact@v4
6767 with :
6868 name : ${{ matrix.triplet }}
69+ path : ${{ github.workspace }}/products
70+ - run : ls ${{ github.workspace }}/products
6971 - run : |
70- mkdir ${{ matrix.triplet }}
71- tar -xzf *.${{ matrix.triplet }}.tar.gz -C ${{ matrix.triplet }}
72+ tar -xzf ${{ github.workspace }}/products/HiGHS.*.${{ matrix.triplet }}.tar.gz -C ${{ github.workspace }}/products
73+ - run : ls ${{ github.workspace }}/products
7274 - shell : julia --color=yes {0}
7375 run : |
7476 using Pkg
7577 Pkg.develop("HiGHS")
76- Pkg.develop(; path="/home/runner/.julia/dev/HiGHS_jll")
77- # Relax the compat bounds in HiGHS.jl
78- project_filename = "/home/runner/.julia/dev/HiGHS/Project.toml"
78+ Pkg.develop("HiGHS_jll")
79+ project_filename = joinpath(Pkg.devdir(), "HiGHS", "Project.toml")
7980 project = read(project_filename, String)
8081 write(
8182 project_filename,
8586 import HiGHS_jll
8687 artifact_dir = HiGHS_jll.artifact_dir
8788 sha = last(splitpath(artifact_dir))
88- dir = escape_string(joinpath(ENV["GITHUB_WORKSPACE"], "${{ matrix.triplet }} "))
89+ dir = escape_string(joinpath(ENV["GITHUB_WORKSPACE"], "products "))
8990 content = "$sha = \"$(dir)\"\n"
9091 write(replace(artifact_dir, sha => "Overrides.toml"), content)
9192 - shell : julia --color=yes {0}
0 commit comments