julia-actions / setup-julia

This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
MIT License
93 stars 23 forks source link

On macOS, first try to find a tarball (`.tar.gz`) file, but fall back to `.dmg` if we can't find a tarball #117

Closed DilumAluthge closed 2 years ago

DilumAluthge commented 2 years ago

As seen in https://github.com/JuliaLang/VersionsJSONUtil.jl/pull/4#issuecomment-1198801820, we currently don't have macOS tarballs for 1.1, 1.2, 1.3.

So, in this PR, we first try to use the tarball, but we fall back to the .dmg if we can't find the tarball.


Depends on: https://github.com/JuliaLang/VersionsJSONUtil.jl/pull/4

See also: #105, https://github.com/JuliaLang/VersionsJSONUtil.jl/issues/3

SaschaMann commented 2 years ago

I can't add it as suggestion because the files aren't touched, but could you add a new CI job for macOS and Julia 1.2 so that we can test if the fallback works?

At least until there are tarballs for everything.

Otherwise this looks ready to be merged.