The title says it all…
When else fails, read the documentation:
Examples
'1.2.0'
is a valid semver version. The action will try to download exactly this version. If it’s not available, the build step will fail.'1.0'
is a version range that will match the highest available Julia version that starts with1.0
, e.g.1.0.5
, excluding pre-releases.'^1.3.0-rc1'
is a caret version range that includes pre-releases of1.3.0
starting atrc1
. It matches all versions≥ 1.3.0-rc1
and< 2.0.0
.'~1.3.0-rc1'
is a tilde version range that includes pre-releases of1.3.0
starting atrc1
. It matches all versions≥ 1.3.0-rc1
and< 1.4.0
.'^1.3.0-0'
is a caret version range that includes all pre-releases of1.3.0
. It matches all versions≥ 1.3.0-
and< 2.0.0
.'~1.3.0-0'
is a tilde version range that includes all pre-releases of1.3.0
. It matches all versions≥ 1.3.0-
and< 1.4.0
.'lts'
will install the latest LTS build.'pre'
will install the latest prerelease build (RCs, betas, and alphas).'nightly'
will install the latest nightly build.'1.7-nightly'
will install the latest nightly build for the upcoming 1.7 release. This version will only be available during certain phases of the Julia release cycle.'min'
will install the earliest supported version of Julia compatible with the project. Especially useful in monorepos.
2 Likes
What is best practice:
- test with nightly
- test with pre
- test with both
?
Yes
I asked if option 1,2 or 3 is best practice. “Yes” does not answer this question.
Indeed it does. “Yes” means take all options’