You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -103,22 +103,22 @@ You can either specify specific Julia versions or version ranges. If you specify
103
103
104
104
#### Examples
105
105
106
-
- `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.
107
-
- `1.0`is a version range that will match the highest available Julia version that starts with `1.0`, e.g. `1.0.5`, excluding pre-releases.
108
-
- `^1.3.0-rc1`is a **caret** version range that includes pre-releases of `1.3.0` starting at `rc1`. It matches all versions `≥ 1.3.0-rc1` and `< 2.0.0`.
109
-
- `~1.3.0-rc1`is a **tilde** version range that includes pre-releases of `1.3.0` starting at `rc1`. It matches all versions `≥ 1.3.0-rc1` and `< 1.4.0`.
110
-
- `^1.3.0-0`is a **caret** version range that includes _all_ pre-releases of `1.3.0`. It matches all versions `≥ 1.3.0-` and `< 2.0.0`.
111
-
- `~1.3.0-0`is a **tilde** version range that includes _all_ pre-releases of `1.3.0`. It matches all versions `≥ 1.3.0-` and `< 1.4.0`.
112
-
- `nightly`will install the latest nightly build.
113
-
- `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.
106
+
- `'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.
107
+
- `'1.0'`is a version range that will match the highest available Julia version that starts with `1.0`, e.g. `1.0.5`, excluding pre-releases.
108
+
- `'^1.3.0-rc1'`is a **caret** version range that includes pre-releases of `1.3.0` starting at `rc1`. It matches all versions `≥ 1.3.0-rc1` and `< 2.0.0`.
109
+
- `'~1.3.0-rc1'`is a **tilde** version range that includes pre-releases of `1.3.0` starting at `rc1`. It matches all versions `≥ 1.3.0-rc1` and `< 1.4.0`.
110
+
- `'^1.3.0-0'`is a **caret** version range that includes _all_ pre-releases of `1.3.0`. It matches all versions `≥ 1.3.0-` and `< 2.0.0`.
111
+
- `'~1.3.0-0'`is a **tilde** version range that includes _all_ pre-releases of `1.3.0`. It matches all versions `≥ 1.3.0-` and `< 1.4.0`.
112
+
- `'nightly'`will install the latest nightly build.
113
+
- `'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.
114
114
115
115
Internally the action uses node's semver package to resolve version ranges. Its [documentation](https://github.com/npm/node-semver#advanced-range-syntax) contains more details on the version range syntax. You can test what version will be selected for a given input in this JavaScript [REPL](https://repl.it/@SaschaMann/setup-julia-version-logic).
116
116
117
117
#### Prereleases
118
118
119
119
There are two methods of including pre-releases in version matching:
120
120
121
-
1. Including the pre-release tag in the version itself, e.g. `^1.3.0-rc1`.
121
+
1. Including the pre-release tag in the version itself, e.g. `'^1.3.0-rc1'`.
122
122
2. Setting the input `include-all-prereleases` to `true`.
0 commit comments