Skip to content

Commit 6be5fdc

Browse files
committed
Update
1 parent 7e90063 commit 6be5fdc

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build_test_windows.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ jobs:
5050
name: artifacts
5151
path: override
5252
- shell: julia --color=yes --project=. {0}
53-
env:
54-
SHA1: ${{ needs.build-linux.outputs.sha1 }}
5553
run: |
56-
open("/home/runner/.julia/artifacts/Overrides.toml", "w") do io
57-
override_dir = joinpath(ENV["GITHUB_WORKSPACE"], "override")
58-
println(io, "$(ENV["SHA1"]) = $(override_dir)")
59-
end
54+
import SCIP_jll
55+
sha = last(splitpath(SCIP_jll.artifact_dir))
56+
content = "$sha = $(joinpath(ENV["GITHUB_WORKSPACE"], "override"))\n"
57+
@show content
58+
write("/home/runner/.julia/artifacts/Overrides.toml", content)
6059
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)