julia-actions/julia-version
Resolve version specifiers into Julia versions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| versions | The Julia version specifier or list of specifiers to resolve. Support formats include a scalar, JSON list, or a YAML list. When passing in a scalar prefer using a string instead of a numeric value to avoid unwanted YAML decimal conversions (e.g. `1.10` will be interpreted as `1.1`). | yes | — |
| project | The path to the Julia project directory or file to use when resolving some specifiers (e.g. `min`). Defaults to using the environmental variable `JULIA_PROJECT` if set or otherwise `.`. | no | "" |
| if-missing | Determine the behavior if a version specifier cannot be resolved. | no | warn |
Outputs
| name | description |
|---|---|
| resolved-json | The unique JSON list of resolved Julia versions. Any versions which could not be resolved will be excluded from this list. |
| resolved | A single resolved Julia version when the input `versions` contains is a single version specifier. Will be an empty string if version cannot be resolved. |