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.