File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 else;
3030 path = download("https://julialang-s3.julialang.org/bin/versions.json");
3131 json = JSON.parsefile(path);
32- rm(path);
32+ try rm(path) catch end;
33+ vspec = Pkg.Types.VersionSpec("${{ matrix.julia-version }}");
3334 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;
3536 v = sort(VersionNumber.(keys(m)))[end];
3637 url = filter(a, json[string(v)]["files"])[1]["url"];
3738 end;
4445 mv /home/runner/work/julia-*/ /home/runner/work/julia/
4546 rm julia-aarch64.tar.gz
4647
47- - uses : uraimo/run-on-arch-action@v2.0.7
48+ - uses : uraimo/run-on-arch-action@v2.0.9
4849 name : Unit Test
4950 with :
5051 arch : ${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments