mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 02:56:54 +08:00
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 <dilum@aluthge.com> * Update action.yml * update example * update toc * npm build --------- Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
This commit is contained in:
3
lib/setup-julia.js
generated
3
lib/setup-julia.js
generated
@@ -80,6 +80,9 @@ function run() {
|
||||
if (!versionInput) { // if `versionInput` is an empty string
|
||||
throw new Error('Version input must not be null');
|
||||
}
|
||||
if (versionInput == '1.6') {
|
||||
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.');
|
||||
}
|
||||
if (!originalArchInput) { // if `originalArchInput` is an empty string
|
||||
throw new Error(`Arch input must not be null`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user