Skip to content
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

Merged
merged 9 commits into from
Jun 26, 2024

Conversation

KristofferC
Copy link
Contributor

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.

@SaschaMann
Copy link
Member

Since the LTS is updated so rarely this might be ok for now.

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

2024-04-15T12:15:06.8345144Z ##[error] found changed files after build. please 'npm run build && npm run format' and check in all changes
2024-04-15T12:15:06.8354990Z ##[error]Process completed with exit code 1.

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.
@ViralBShah
Copy link
Contributor

Can we get this merged?

@DilumAluthge DilumAluthge requested review from SaschaMann and removed request for a team May 20, 2024 13:40
@DilumAluthge
Copy link
Member

Hmmm. PR Checks are still failing.

@DilumAluthge DilumAluthge changed the title allow specifying the version as lts to install the latest LTS version Allow lts for the LTS, and allow pre for the latest pre-release Jun 19, 2024
@DilumAluthge DilumAluthge added the enhancement New feature or request label Jun 19, 2024
})

it('pre', () => {
expect(installer.getJuliaVersion(testVersions, 'pre')).toEqual('1.11.0-beta1')
Copy link
Member

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?

@DilumAluthge
Copy link
Member

DilumAluthge commented Jun 19, 2024

We should decide on a case (uppercase vs lowercase) convention, and keep it consistent between this PR and #202.

Which do we prefer?

  1. Lowercase: lts, pre, and min
  2. Uppercase: LTS, PRE, and MIN

Copy link
Member

@DilumAluthge DilumAluthge left a 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.

@DilumAluthge DilumAluthge requested review from omus, IanButterworth, a team and SaschaMann and removed request for SaschaMann June 19, 2024 23:05
@DilumAluthge
Copy link
Member

Phew, CI is all green now.

@IanButterworth IanButterworth merged commit 389de5c into julia-actions:master Jun 26, 2024
58 checks passed
@ViralBShah
Copy link
Contributor

Nice! Will pre install alphas, betas, rcs, etc? It is probably worth mentioning directly in the README.

@IanButterworth
Copy link
Member

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

@IanButterworth
Copy link
Member

IanButterworth commented Jun 26, 2024

https://github.com/IanButterworth/PowerMonitor.jl/actions/runs/9686654256/job/26729572283?pr=4

There are failures in the package on apple silicon, ignore those, but otherwise seems good

@IanButterworth
Copy link
Member

@ViralBShah check the readme under https://github.com/julia-actions/setup-julia#examples

If that looks good then I can release v2.2.0

@ViralBShah
Copy link
Contributor

I proposed #256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants