-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow lts
for the LTS, and allow pre
for the latest pre-release
#234
Conversation
Yea, seems fine to require an action update for that once every few years. For some reason the GHA logs aren't showing me the error properly except in the raw logs, it's
That CI check still runs on Node16. #235 should fix it |
for now, this just hardcodes the LTS version in the source (similar to how juliaup does it) since the latest LTS is not available in `versions.json`. Since the LTS is updated so rarely this might be ok for now.
Can we get this merged? |
Hmmm. PR Checks are still failing. |
lts
to install the latest LTS versionlts
for the LTS, and allow pre
for the latest pre-release
}) | ||
|
||
it('pre', () => { | ||
expect(installer.getJuliaVersion(testVersions, 'pre')).toEqual('1.11.0-beta1') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KristofferC Will this test will need to be updated every time there's a new pre-release?
We should decide on a case (uppercase vs lowercase) convention, and keep it consistent between this PR and #202. Which do we prefer?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is probably fine, but it might be good to get another review.
Phew, CI is all green now. |
Nice! Will |
I'm working on testing this on an external repo to demo it, then will update the readme for review, before releasing 2.2.0 |
There are failures in the package on apple silicon, ignore those, but otherwise seems good |
@ViralBShah check the readme under https://github.com/julia-actions/setup-julia#examples If that looks good then I can release v2.2.0 |
I proposed #256 |
for now, this just hardcodes the LTS version in the source (similar to how juliaup does it) since the latest LTS is not available in
versions.json
. Since the LTS is updated so rarely this might be ok for now.