Releases: julia-actions/setup-julia
v1.7.0: Add support for aarch64
Setting the arch
input to aarch64
will install aarch64
binaries,
intended to be used on aarch64-based self-hosted runners.
Please note that we currently don't run test builds on that
architecture, so we cannot guarantee that the input won't break
randomly, although there is no reason why it would.
In a future update, we may choose a default architecture based on the
arch of the runner.
Thanks to @giordano for providing a self-hosted runner for testing.
v1.6.1: Throw an informative error for non-existent version
v1.6.0: Update versioninfo behaviour & fixes
Change show-versioninfo to always print full info for nightlies [#68]
By default, only the output of julia --version
is printed as verification that Julia has been installed for stable versions of Julia.
InteractiveUtils.versioninfo()
is run by default for nightly builds.
Starting Julia and printing the full versioninfo takes a significant amount of time (1s or ~10% of the total build time in testing), so you may not want to run it in every build, in particular on paid runners as this cost will add up quickly.
However, julia --version
does not provide sufficient information to know which commit a nightly binary was built from, therefore it is useful to show the full versioninfo on nightly builds regardless.
You can override this behaviour by changing the input to never
if you never want to run InteractiveUtils.versioninfo()
or to true
if you always want to run InteractiveUtils.versioninfo()
, even on stable Julia builds.
Previously InteractiveUtils.versioninfo()
was never run unless you explicitely required it via the input.
Retry if download fails for any reason [#70]
Occasionally the connection is reset for unknown reasons (#35). Retry downloading Julia up to 10 times in those situations.
Only allow download URLs pointing at the official S3 URL [#71]
Verify that fileInfo.url points at the official Julia download servers and abort if it points elsewhere. This is a small guard against a compromised versions.json
file.
v1.5.2: Support release branch nightlies
1.6-nightly
will install the latest nightly build for the upcoming 1.6 release. This version will only be available during certain phases of the Julia release cycle.1.7-nightly
,1.8-nightly
, ... will work once those are available on Julia's infrastructure without the need to update the action itself.
v1.5.1: Optimise show-versioninfo
v1.5.0: Add julia-version output
outputs:
# The installed Julia version.
# May vary from the version input if a version range was given as input.
#
# Example output: '1.5.3'
julia-version: ''
See #58
Update documentation
There are no code changes. Updating the Marketplace description requires tagging a release, therefore it was necessary despite only changing the README.
Decouple Julia versions from action version
- Installable Julia versions will now be pulled from https://julialang-s3.julialang.org/bin/versions.json (#24)
- The sha256 checksum of the downloaded file will be checked against the expected checksum from versions.json (#49)
Bump actions/core dependency
This will remove the deprecation warnings from adding Julia to PATH. See here for more info: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/