File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 29
29
else;
30
30
path = download("https://julialang-s3.julialang.org/bin/versions.json");
31
31
json = JSON.parsefile(path);
32
- rm(path);
32
+ try rm(path) catch end;
33
+ vspec = Pkg.Types.VersionSpec("${{ matrix.julia-version }}");
33
34
a(f) = f["arch"] == "${{ matrix.arch }}" && f["os"] == "linux" && !occursin("musl", f["triplet"]);
34
- m = filter(json) do v; VersionNumber(v[1]) in Pkg.Types.VersionSpec("${{ matrix.julia-version }}" ) && any(a, v[2]["files"]); end;
35
+ m = filter(json) do v; vn = VersionNumber(v[1]); vn in vspec && isempty(vn.prerelease ) && any(a, v[2]["files"]); end;
35
36
v = sort(VersionNumber.(keys(m)))[end];
36
37
url = filter(a, json[string(v)]["files"])[1]["url"];
37
38
end;
44
45
mv /home/runner/work/julia-*/ /home/runner/work/julia/
45
46
rm julia-aarch64.tar.gz
46
47
47
- - uses : uraimo/run-on-arch-action@v2.0.7
48
+ - uses : uraimo/run-on-arch-action@v2.0.9
48
49
name : Unit Test
49
50
with :
50
51
arch : ${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments