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
Improve example version instructions. Add info about "lts" if user specifies 1.6 explicitly (#265)
* improve example versions and note
* add info if user explicitly sets version to 1.6
* npm run build
* add 1.6 explicitly to CI
* convert to a github actions notice
* try core.notice
* npm run build
* Apply suggestions from code review
Co-authored-by: Dilum Aluthge <[email protected]>
* Update action.yml
* update example
* update toc
* npm build
---------
Co-authored-by: Dilum Aluthge <[email protected]>
Copy file name to clipboardExpand all lines: action.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ description: 'Setup a Julia environment and add it to the PATH'
3
3
author: 'Sascha Mann'
4
4
inputs:
5
5
version:
6
-
description: 'The Julia version to download (if necessary) and use. Example: 1.0.4'
6
+
description: 'The Julia version to download (if necessary) and use. Use a string input to avoid unwanted decimal conversion e.g. 1.10 without quotes will be interpreted as 1.1. Examples: "1", "1.10", "lts", "pre"'
7
7
default: '1'
8
8
include-all-prereleases:
9
9
description: 'Include prereleases when matching the Julia version to available versions.'
Copy file name to clipboardExpand all lines: src/setup-julia.ts
+3
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,9 @@ async function run() {
53
53
if(!versionInput){// if `versionInput` is an empty string
54
54
thrownewError('Version input must not be null')
55
55
}
56
+
if(versionInput=='1.6'){
57
+
core.notice('[setup-julia] If you are testing 1.6 as a Long Term Support (lts) version, consider using the new "lts" version specifier instead of "1.6" explicitly, which will automatically resolve the current lts.')
58
+
}
56
59
if(!originalArchInput){// if `originalArchInput` is an empty string
0 commit comments